summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/setenv.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-04-23 16:53:02 +0000
committerdes <des@FreeBSD.org>2003-04-23 16:53:02 +0000
commit6d34992e86f885f08b7df6e18a0b6af25ec2d664 (patch)
tree1a380064758bab3bc985ef1cc15a7b6633825c0f /crypto/openssh/openbsd-compat/setenv.c
parentdf96ff7f3774ba5a36cf1c6729762872945cc60a (diff)
parent85b37b9574631df0f7e774dda373514195c74b29 (diff)
downloadFreeBSD-src-6d34992e86f885f08b7df6e18a0b6af25ec2d664.zip
FreeBSD-src-6d34992e86f885f08b7df6e18a0b6af25ec2d664.tar.gz
This commit was generated by cvs2svn to compensate for changes in r113908,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/openssh/openbsd-compat/setenv.c')
-rw-r--r--crypto/openssh/openbsd-compat/setenv.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/openssh/openbsd-compat/setenv.c b/crypto/openssh/openbsd-compat/setenv.c
index 1dff15c..e5c5de6 100644
--- a/crypto/openssh/openbsd-compat/setenv.c
+++ b/crypto/openssh/openbsd-compat/setenv.c
@@ -35,12 +35,14 @@
#ifndef HAVE_SETENV
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: setenv.c,v 1.4 2001/07/09 06:57:45 deraadt Exp $";
+static char *rcsid = "$OpenBSD: setenv.c,v 1.5 2002/12/10 22:44:13 mickey Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdlib.h>
#include <string.h>
+char *__findenv(const char *name, int *offset);
+
/*
* __findenv --
* Returns pointer to value associated with name, if any, else NULL.
@@ -92,7 +94,6 @@ setenv(name, value, rewrite)
static int alloced; /* if allocated space before */
register char *C;
int l_value, offset;
- char *__findenv();
if (*value == '=') /* no `=' in value */
++value;
OpenPOWER on IntegriCloud