summaryrefslogtreecommitdiff
path: root/lib/setenv.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/setenv.h')
-rw-r--r--lib/setenv.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/setenv.h b/lib/setenv.h
new file mode 100644
index 000000000..932a852d7
--- /dev/null
+++ b/lib/setenv.h
@@ -0,0 +1,17 @@
+#ifndef SETENV_H
+#define SETENV_H 1
+
+#undef __P
+#if defined (__STDC__) && __STDC__
+#define __P(x) x
+#else
+#define __P(x) ()
+#endif
+
+int
+ setenv __P ((const char *name, const char *value, int replace));
+
+void
+ unsetenv __P ((const char *name));
+
+#endif /* SETENV_H */