Restore NCURSES_CONST constness.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 29 Jul 2005 14:20:11 +0000 (14:20 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 29 Jul 2005 14:20:11 +0000 (14:20 +0000)
lib/libncurses/include/MKterm.h.awk
lib/libncurses/include/curses.head
lib/libncurses/include/termcap.h

index 438fd52..2f47f7d 100644 (file)
@@ -1,4 +1,4 @@
-# $DragonFly: src/lib/libncurses/include/MKterm.h.awk,v 1.2 2005/03/14 09:14:57 eirikn Exp $
+# $DragonFly: src/lib/libncurses/include/MKterm.h.awk,v 1.3 2005/07/29 14:20:11 joerg Exp $
 BEGIN          {
                    print  "/****************************************************************************"
                    print  " * Copyright (c) 1998-2001,2003 Free Software Foundation, Inc.              *"
@@ -83,7 +83,7 @@ BEGIN         {
                    print  "#define HAVE_TCGETATTR 1/*default*/"
                    print  ""
                    print  "#undef  NCURSES_CONST"
-                   print  "#define NCURSES_CONST /*nothing*/"
+                   print  "#define NCURSES_CONST const"
                    print  ""
                    print  "#undef  NCURSES_XNAMES"
                    print  "#define NCURSES_XNAMES 1"
index 1416c99..5d9442b 100644 (file)
@@ -33,7 +33,7 @@
  ****************************************************************************/
 
 /* $Id: curses.h.in,v 1.148 2004/01/14 23:50:12 tom Exp $ */
-/* $DragonFly: src/lib/libncurses/include/curses.head,v 1.1 2005/03/12 19:13:54 eirikn Exp $ */
+/* $DragonFly: src/lib/libncurses/include/curses.head,v 1.2 2005/07/29 14:20:11 joerg Exp $ */
 
 #ifndef __NCURSES_H
 #define __NCURSES_H
@@ -93,7 +93,7 @@
  * doing so makes it incompatible with other implementations of X/Open Curses.
  */
 #undef  NCURSES_CONST
-#define NCURSES_CONST /*nothing*/
+#define NCURSES_CONST const
 
 /*
  * The internal type used for color values
index 45704cd..e5796f3 100644 (file)
@@ -32,7 +32,7 @@
  ****************************************************************************/
 
 /* $Id: termcap.h.in,v 1.16 2001/03/24 21:53:27 tom Exp $ */
-/* $DragonFly: src/lib/libncurses/include/termcap.h,v 1.1 2005/03/12 19:13:54 eirikn Exp $ */
+/* $DragonFly: src/lib/libncurses/include/termcap.h,v 1.2 2005/07/29 14:20:11 joerg Exp $ */
 
 #ifndef NCURSES_TERMCAP_H_incl
 #define NCURSES_TERMCAP_H_incl 1
@@ -69,7 +69,7 @@ extern "C"
 #include <sys/types.h>
 
 #undef  NCURSES_CONST 
-#define NCURSES_CONST /*nothing*/ 
+#define NCURSES_CONST const
 
 #undef  NCURSES_OSPEED 
 #define NCURSES_OSPEED short