summaryrefslogtreecommitdiffstats
path: root/source/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-20 06:45:18 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-20 06:45:18 +0000
commit72bce217ef474f056d8f6675667ec78d1772ff37 (patch)
tree2f234712b273ae08a3a0f02fa2e45f1e6fd2e812 /source/lib
parentfacd8d74e0cd0998ca5347ac5be14a6027460699 (diff)
downloadsamba-72bce217ef474f056d8f6675667ec78d1772ff37.tar.gz
samba-72bce217ef474f056d8f6675667ec78d1772ff37.tar.xz
samba-72bce217ef474f056d8f6675667ec78d1772ff37.zip
removed setenv(), replaced with smbw_setenv()
Diffstat (limited to 'source/lib')
-rw-r--r--source/lib/replace.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source/lib/replace.c b/source/lib/replace.c
index a354458a686..56f6b9c6379 100644
--- a/source/lib/replace.c
+++ b/source/lib/replace.c
@@ -293,20 +293,3 @@ char *rep_inet_ntoa(struct in_addr ip)
}
#endif
-
-#ifndef HAVE_SETENV
-/*****************************************************************
-set an env variable - some systems don't have this
-*****************************************************************/
- int setenv(const char *name, const char *value, int overwrite)
-{
- pstring s;
-
- if (!overwrite && getenv(name)) return 0;
-
- slprintf(s,sizeof(s)-1,"%s=%s", name, value);
-
- return putenv(s);
-}
-
-#endif