summaryrefslogtreecommitdiff
path: root/lib/setenv.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-04-01 00:16:11 +0000
committerJim Meyering <jim@meyering.net>1996-04-01 00:16:11 +0000
commit651e543fd678c550054c0f93a0e5a9d5495a70dc (patch)
tree3312a350e12da752cba593c1bd8e947833fdb74a /lib/setenv.h
parentae56578d180c8866b8ee9eecbf0a6ce011ac524e (diff)
downloadcoreutils-651e543fd678c550054c0f93a0e5a9d5495a70dc.tar.xz
.
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 */