about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/prototypes.h12
2 files changed, 12 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index eebd4ae31..75f3a15d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-26  Wayne Davison  <wayned@users.sourceforge.net>
+
+	* 29053 (modified): Src/prototypes.h: Use "const" qualifier
+	in termcap prototypes.
+
 2011-04-25  Frank Terbeck  <ft@bewatermyfriend.org>
 
 	* Felipe Contreras: 29028: Completion/Unix/Command/_git: Add
@@ -14519,5 +14524,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5263 $
+* $Revision: 1.5264 $
 *****************************************************
diff --git a/Src/prototypes.h b/Src/prototypes.h
index 07fe2d0c5..bedde8df1 100644
--- a/Src/prototypes.h
+++ b/Src/prototypes.h
@@ -34,12 +34,12 @@ char *calloc _((size_t, size_t));
 #endif
 
 #if !(defined(USES_TERMCAP_H) || defined(USES_TERM_H))
-extern int tgetent _((char *bp, char *name));
-extern int tgetnum _((char *id));
-extern int tgetflag _((char *id));
-extern char *tgetstr _((char *id, char **area));
-extern char *tgoto _((char *cm, int destcol, int destline));
-extern int tputs _((char *cp, int affcnt, int (*outc) (int)));
+extern int tgetent _((char *bp, const char *name));
+extern int tgetnum _((const char *id));
+extern int tgetflag _((const char *id));
+extern char *tgetstr _((const char *id, char **area));
+extern char *tgoto _((const char *cm, int destcol, int destline));
+extern int tputs _((const char *cp, int affcnt, int (*outc) (int)));
 #endif
 
 /* MISSING PROTOTYPES FOR VARIOUS OPERATING SYSTEMS */