aboutsummaryrefslogtreecommitdiff
path: root/contrib/ncurses/test/cardfile.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-10-11 07:31:01 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-10-11 07:31:01 +0000
commit18259542b2f8fa7e3f76f4bb0dd37995dfd424aa (patch)
tree9ec00b41242bbe63b83c0ac5316c539466d9f9de /contrib/ncurses/test/cardfile.c
parent15589c42fa2774d2f8ee650f4f31eb8d3a861316 (diff)
downloadsrc-18259542b2f8fa7e3f76f4bb0dd37995dfd424aa.tar.gz
src-18259542b2f8fa7e3f76f4bb0dd37995dfd424aa.zip
Import ncurses-5.1-20001009 onto the vendor branch
Notes
Notes: svn path=/vendor/ncurses/dist/; revision=66963
Diffstat (limited to 'contrib/ncurses/test/cardfile.c')
-rw-r--r--contrib/ncurses/test/cardfile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/ncurses/test/cardfile.c b/contrib/ncurses/test/cardfile.c
index 980ffbeba94c..75d207764a93 100644
--- a/contrib/ncurses/test/cardfile.c
+++ b/contrib/ncurses/test/cardfile.c
@@ -29,7 +29,7 @@
/*
* Author: Thomas E. Dickey <dickey@clark.net> 1999
*
- * $Id: cardfile.c,v 1.4 2000/03/19 01:34:00 tom Exp $
+ * $Id: cardfile.c,v 1.5 2000/09/09 19:08:32 tom Exp $
*
* File format: text beginning in column 1 is a title; other text forms the content.
*/
@@ -72,8 +72,8 @@ strdup(char *s)
}
#endif /* not HAVE_STRDUP */
-static char *
-skip(char *buffer)
+static const char *
+skip(const char *buffer)
{
while (isspace(*buffer))
buffer++;
@@ -119,7 +119,7 @@ add_title(const char *title)
}
static void
-add_content(CARD * card, char *content)
+add_content(CARD * card, const char *content)
{
unsigned total, offset;
@@ -359,7 +359,7 @@ cardfile(char *fname)
doupdate();
switch (form_driver(top_card->form, ch =
- form_virtualize(panel_window(top_card->panel)))) {
+ form_virtualize(panel_window(top_card->panel)))) {
case E_OK:
break;
case E_UNKNOWN_COMMAND: