gtk-1.0.1




In gutil.c, sys_siglist is defined as without const, so on
FBSD systems, gcc stops.  It should be const char *const sys_siglist[].
It would probably be better to just include the propper header file
(unistd.h) instead of the extern declaration, but here is the
short term patch.

Jay

--- gutils.c.orig       Sun May  3 19:35:00 1998
+++ gutils.c    Thu May  7 01:58:48 1998
@@ -663,7 +663,7 @@
 #endif
     }
 #else /* NO_SYS_SIGLIST */
-  extern char *sys_siglist[];
+  extern const char * const sys_siglist[];
   return sys_siglist [signum];
 #endif /* NO_SYS_SIGLIST */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]