From e48852383dd9cc90c5eb36b0cc2f3b90946b5dc8 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 20 Feb 2001 01:48:31 +0000 Subject: [PATCH] (setprogname, getprogname): add prototypes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9707 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index 87a6a4403..8e14d0578 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -587,6 +587,14 @@ struct hostent* roken_gethostbyaddr(const void*, size_t, int); #define roken_getsockname(a,b,c) getsockname(a, b, (void*)c) #endif +#ifndef HAVE_SETPROGNAME +void setprogname(const char *argv0); +#endif + +#ifndef HAVE_GETPROGNAME +const char *getprogname(void); +#endif + void set_progname(char *argv0); const char *get_progname(void);