]> andersk Git - gssapi-openssh.git/blobdiff - openssh/openbsd-compat/setenv.c
Import of OpenSSH 3.6.1p1
[gssapi-openssh.git] / openssh / openbsd-compat / setenv.c
index 1dff15c73d80af774a446d23ecf7bd309cdd9e79..e5c5de62ec2d4b8c7430f6cb97e9c112dd9f439c 100644 (file)
 #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;
This page took 0.036411 seconds and 4 git commands to generate.