summaryrefslogtreecommitdiff
path: root/src/daemon/gnuserv.c
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-02-11 18:40:36 +0000
committerMartin Baulig <martin@src.gnome.org>1999-02-11 18:40:36 +0000
commit8773604ef106537a2983f64fc7b93f37b06e8838 (patch)
tree04670239427c44cf62c99f16dbc401b010ab087a /src/daemon/gnuserv.c
parent411a1c8e8493d85faf53aadf144e3cf4e47df186 (diff)
downloadlibgtop-8773604ef106537a2983f64fc7b93f37b06e8838.tar.gz
Declare this as `extern' if necessary.
1999-02-10 Martin Baulig <martin@home-of-linux.org> * gnuserv.c (program_invocation_*_name): Declare this as `extern' if necessary.
Diffstat (limited to 'src/daemon/gnuserv.c')
-rw-r--r--src/daemon/gnuserv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/daemon/gnuserv.c b/src/daemon/gnuserv.c
index 7406f7c8..ffef7180 100644
--- a/src/daemon/gnuserv.c
+++ b/src/daemon/gnuserv.c
@@ -50,6 +50,10 @@
#include <sys/select.h>
#endif
+#ifdef NEED_DECLARATION_PROGRAM_INVOCATION_NAME
+extern char *program_invocation_name, *program_invocation_short_name;
+#endif
+
#ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME
char *program_invocation_short_name;
#endif