summaryrefslogtreecommitdiff
path: root/devel/cssc/patches/patch-ad
blob: 4cac330fb2f247ecb09db58722d84e3b2f56e010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-ad,v 1.3 2005/12/15 22:04:00 joerg Exp $

--- bsd/sccs.c.orig	2005-12-15 21:56:38.000000000 +0000
+++ bsd/sccs.c
@@ -2018,8 +2018,6 @@ unedit (const char *fn)
    */
   if (delete)
     {
-      extern int errno;
-
       cp = tail (fn);
       errno = 0;
       if (access (cp, 0) < 0 && errno != ENOENT)
@@ -2109,7 +2107,6 @@ dodiff (char * getv[], const char *gfile
   int rval;
   register int pid;
   auto int st;
-  extern int errno;
 
   printf ("\n------- %s -------\n", gfile);
   fflush (stdout);
@@ -2328,7 +2325,6 @@ usrerr (const char *fmt,...)
 void
 syserr (const char *fmt,...)
 {
-  extern int errno;
   va_list ap;
 
   fprintf (stderr, "\n%s SYSERR: ", MyName);