summaryrefslogtreecommitdiff
path: root/source3/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
commitad64fc6bc5c76cee7d7abf2971ae5097cfb243b2 (patch)
treeb73b89ca9e2ffd7cb9119b0f5244ad2a80fd5c33 /source3/lib
parente2fcb1880b060c41555d876fd51222f97f8fd8d1 (diff)
downloadsamba-ad64fc6bc5c76cee7d7abf2971ae5097cfb243b2.tar.gz
samba-ad64fc6bc5c76cee7d7abf2971ae5097cfb243b2.tar.bz2
samba-ad64fc6bc5c76cee7d7abf2971ae5097cfb243b2.zip
removed setenv(), replaced with smbw_setenv()
(This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/lib/replace.c b/source3/lib/replace.c
index a354458a68..56f6b9c637 100644
--- a/source3/lib/replace.c
+++ b/source3/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