Bläddra i källkod

ERR: Another attempt to remove warnings from missing prototypes.

Brad King 23 år sedan
förälder
incheckning
f6a70573b0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Source/CursesDialog/form/frm_driver.c

+ 1 - 1
Source/CursesDialog/form/frm_driver.c

@@ -45,7 +45,7 @@ MODULE_ID("$Id$")
 
 /* These declarations are missing from curses.h on some platforms.  */
 extern int winnstr(WINDOW *, char *, int);
-#if defined(__DECCXX_VER)
+#if defined(__DECCXX_VER) || (defined(__GNUC__) && defined(__osf__))
 extern int waddnstr(WINDOW *,const char *const,int);
 extern void wbkgdset(WINDOW *,chtype);
 #ifndef untouchwin