[bug #4302] errno is not always an extern int
[mmh] / sbr / ruserpass.c
index 6045c32..4c12b71 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ * Portions of this code are
  * Copyright (c) 1985 Regents of the University of California.
  * All rights reserved.
  *
@@ -65,7 +66,6 @@ ruserpass(char *host, char **aname, char **apass)
     char *hdir, buf[BUFSIZ];
     int t, usedefault = 0;
     struct stat stb;
-    extern int errno;
 
     hdir = getenv("HOME");
     if (hdir == NULL)