/* Program name management.
- Copyright (C) 2001-2003 Free Software Foundation, Inc.
+ Copyright (C) 2001-2004 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#ifndef _PROGNAME_H
#define _PROGNAME_H
-#include <stdbool.h>
-
-/* This file supports selectively prefixing or nor prefixing error messages
- with the program name.
-
- Programs using this file should do the following in main():
+/* Programs using this file should do the following in main():
set_program_name (argv[0]);
- error_print_progname = maybe_print_progname;
*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* String containing name the program is called with. */
extern const char *program_name;
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _PROGNAME_H */