Преглед на файлове

ERR: Another attempt to remove warnings from missing prototypes.

Brad King преди 23 години
родител
ревизия
f6a70573b0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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