pkg-config/glib-patches/remove-strsignal-prototype.diff
Tollef Fog Heen 4fe6610368 2007-12-29 Tollef Fog Heen <tfheen@err.no>
* Update to glib 1.2.10, adjust lots of the glib patches.  Gnome
	#81847.
2007-12-29 14:40:41 +01:00

19 lines
451 B
Diff

--- glib-1.2.8/gstrfuncs.c 2000-04-17 17:05:16.000000000 +0200
+++ glib-1.2.8/gstrfuncs.c.new 2005-04-02 16:39:10.627002672 +0200
@@ -31,7 +31,8 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
+#define _GNU_SOURCE
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
@@ -702,7 +703,6 @@
char *msg;
#ifdef HAVE_STRSIGNAL
- extern char *strsignal (int sig);
return strsignal (signum);
#elif NO_SYS_SIGLIST
switch (signum)