patch/patch-2.5.4-program_name.patch

12 lines
364 B
Diff
Raw Normal View History

--- patch-2.5.4/error.c.program_name Tue Apr 9 14:38:27 2002
+++ patch-2.5.4/error.c Tue Apr 9 14:38:43 2002
@@ -80,7 +80,7 @@
/* The calling program should define program_name and set it to the
name of the executing program. */
-extern char *program_name;
+extern char const program_name[];
# ifdef HAVE_STRERROR_R
# define __strerror_r strerror_r