projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
no vasnprintf.h, either; argz_.h from libtool
[gnulib.git]
/
lib
/
progname.h
diff --git
a/lib/progname.h
b/lib/progname.h
index
89f0127
..
5292cd1
100644
(file)
--- a/
lib/progname.h
+++ b/
lib/progname.h
@@
-1,5
+1,5
@@
/* Program name management.
/* Program name management.
- Copyright (C) 2001-200
3
Free Software Foundation, Inc.
+ Copyright (C) 2001-200
4
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
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
@@
-19,12
+19,16
@@
#ifndef _PROGNAME_H
#define _PROGNAME_H
#ifndef _PROGNAME_H
#define _PROGNAME_H
-#include <stdbool.h>
-
/* Programs using this file should do the following in main():
set_program_name (argv[0]);
*/
/* Programs using this file should do the following in main():
set_program_name (argv[0]);
*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* String containing name the program is called with. */
extern const char *program_name;
/* String containing name the program is called with. */
extern const char *program_name;
@@
-47,4
+51,10
@@
extern char *get_full_program_name (void);
#endif
#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+
#endif /* _PROGNAME_H */
#endif /* _PROGNAME_H */