+2002-01-09 Bruno Haible <bruno@clisp.org>
+
+ * setenv.h: Make it possible to include this file from C++.
+ * xsetenv.h: Likewise.
+
2002-01-05 Bruno Haible <bruno@clisp.org>
* Makefile.am (libgettextlib_la_LDFLAGS): Add -lc. Needed on AIX.
/* Setting environment variables.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001-2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#else
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Set NAME to VALUE in the environment.
If REPLACE is nonzero, overwrite an existing value. */
extern int setenv PARAMS ((const char *name, const char *value, int replace));
/* Remove the variable NAME from the environment. */
extern int unsetenv PARAMS ((const char *name));
+#ifdef __cplusplus
+}
+#endif
+
#endif
/* Setting environment variables, with out-of-memory checking.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001-2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
/* Get unsetenv(). It can be used without error checking. */
#include "setenv.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Set NAME to VALUE in the environment.
If REPLACE is nonzero, overwrite an existing value.
With error checking. */
extern void xsetenv PARAMS ((const char *name, const char *value, int replace));
+
+#ifdef __cplusplus
+}
+#endif