/* Define and initialize `__progname' et. al.
- Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Boston, MA 02111-1307, USA. */
#include <string.h>
-#include <errno.h>
char *__progname_full = (char *) "";
char *__progname = (char *) "";
weak_alias (__progname, program_invocation_short_name)
-static void __init_misc (int argc, char **argv, char **envp)
+#ifdef HAVE_GNU_LD
+static
+#endif /* HAVE_GNU_LD */
+void __init_misc (int argc, char **argv, char **envp)
__attribute__ ((unused));
-static void
+#ifdef HAVE_GNU_LD
+static
+#endif /* HAVE_GNU_LD */
+void
__init_misc (int argc, char **argv, char **envp)
{
if (argv && argv[0])