]> arthur.barton.de Git - netatalk.git/commitdiff
Removed "dummy" global variables. (-Wall cleanliness)
authorsrittau <srittau>
Mon, 17 Feb 2003 01:51:07 +0000 (01:51 +0000)
committersrittau <srittau>
Mon, 17 Feb 2003 01:51:07 +0000 (01:51 +0000)
libatalk/adouble/ad_sendfile.c
libatalk/compat/getusershell.c
libatalk/compat/inet_aton.c
libatalk/compat/mktemp.c
libatalk/compat/rquota_xdr.c
libatalk/compat/strcasecmp.c
libatalk/compat/strdup.c
libatalk/compat/strstr.c

index 35a9bccc0b0aa15b3b75ab4846d0bd7762cf5dd3..21e4126f86eed247ff96bee45eddf9dfc9ad3d55 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ad_sendfile.c,v 1.5 2002-10-11 14:18:38 didg Exp $
+ * $Id: ad_sendfile.c,v 1.6 2003-02-17 01:51:07 srittau Exp $
  *
  * Copyright (c) 1999 Adrian Sun (asun@zoology.washington.edu)
  * All rights reserved. See COPYRIGHT.
@@ -29,8 +29,6 @@
 
 #include "ad_private.h"
 
-static int _ad_sendfile_dummy;
-
 #ifdef ATACC
 
 #if defined(HAVE_SENDFILE_READ)
index e06647623190b2549cbf08eb1616b697c7a6d394..2716bb8f955ca79c002dde8237f8107f4141f7e5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: getusershell.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: getusershell.c,v 1.4 2003-02-17 01:51:08 srittau Exp $
  *
  * Copyright (c) 1985 Regents of the University of California.
  * All rights reserved.
@@ -27,8 +27,6 @@
 static char sccsid[] = "@(#)getusershell.c     5.6 (Berkeley) 6/1/90";
 #endif /* LIBC_SCCS and not lint */
 
-static int     _getusershell_dummy;
-
 #if defined(ultrix) || defined(_IBMR2) || defined(NEED_GETUSERSHELL)
 
 #include <sys/param.h>
index 919c18278d8d82a740b95df9cac3046a688eda58..d14ebfdc0ac8eff0a40347bc07234fef613f6b44 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: inet_aton.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: inet_aton.c,v 1.4 2003-02-17 01:51:08 srittau Exp $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -10,8 +10,6 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
-static int _inet_aton_dummy;
-
 #if defined(ultrix) || (defined(sun) && defined(__svr4__))
 #ifndef INADDR_NONE
 #define INADDR_NONE ((unsigned) 0xffffffff)
index b92ffe818f3b2833da000d4de7c1c257457dd79d..ddbfe2d5f88a338e4722db6cc5b42a79a7a8353e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: mktemp.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: mktemp.c,v 1.4 2003-02-17 01:51:08 srittau Exp $
  *
  * Copyright (c) 1987 Regents of the University of California.
  * All rights reserved.
@@ -27,8 +27,6 @@
 static char sccsid[] = "@(#)mktemp.c   5.9 (Berkeley) 6/1/90";
 #endif /* LIBC_SCCS and not lint */
 
-static int     _mktemp_dummy;
-
 # ifdef ultrix
 
 #include <sys/types.h>
index 3e1f46094f485bfa82ee1395b16642b37aad6c80..30e26a29c3440b7e4997ed64ba8ab546f4661be5 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: rquota_xdr.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: rquota_xdr.c,v 1.4 2003-02-17 01:51:08 srittau Exp $
  *
  * taken from the quota-1.55 used on linux. here's the bsd copyright:
  *
@@ -16,8 +16,6 @@
 
 #include <stdio.h> /* to get __GNU_LIBRARY__ */
 
-static int _xdr_rquota_dummy;
-
 /* list of machines that don't have these functions:
        solaris
        linux libc5
index c89371ebaa07925b97aec275f0ed9a3629cc9e9b..bc8cb57bd5c07b831ace4cedf98356803abb1581 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: strcasecmp.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: strcasecmp.c,v 1.4 2003-02-17 01:51:08 srittau Exp $
  *
  * Copyright (c) 1987 Regents of the University of California.
  * All rights reserved.
@@ -23,8 +23,6 @@
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
-static int     _strcasecmp_dummy;
-
 # if defined( ibm032 )
 
 #include <sys/types.h>
index c5b44d879cefbef45993140546d538e85afac153..9537a857752d2b4852f0c1fdab79272d341201ae 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: strdup.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: strdup.c,v 1.4 2003-02-17 01:51:08 srittau Exp $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -10,8 +10,6 @@
 #include <stdlib.h>
 #include <string.h>
 
-static int _strdup_dummy;
-
 #ifdef ultrix
 char *strdup(const char *string)
 {
index 4bd6c2004fb0e3cd452dba25e3c0e6271d0e48f1..ae555b499cebc40ff21ed321f8c8647169c5ee22 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: strstr.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: strstr.c,v 1.4 2003-02-17 01:51:08 srittau Exp $
  *
  * Copyright (c) 1990 The Regents of the University of California.
  * All rights reserved.
@@ -44,8 +44,6 @@
 static char sccsid[] = "@(#)strstr.c   5.2 (Berkeley) 1/26/91";
 #endif /* LIBC_SCCS and not lint */
 
-static int     _strstr_dummy;
-
 # if defined(ibm032) || (defined(sun) && defined(i386))
 #ifdef sun
 #define const