diff options
| author | Alexander Barton <alex@barton.de> | 2005-07-31 20:13:07 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2005-07-31 20:13:07 +0000 |
| commit | 77f54693ef258b1fe65ee105fc026dfb2c6257dc (patch) | |
| tree | a1a3b42b82d7c37535dde1398a73d77f02a9d183 /src/portab | |
| parent | b61407713dab7f01ef98b9ee43c7f9e449c3b6f4 (diff) | |
| download | ngircd-77f54693ef258b1fe65ee105fc026dfb2c6257dc.tar.gz ngircd-77f54693ef258b1fe65ee105fc026dfb2c6257dc.zip | |
Removed unnecessary #define of "LOCAL", now use plain C "static" instead.
Diffstat (limited to 'src/portab')
| -rw-r--r-- | src/portab/portab.h | 5 | ||||
| -rw-r--r-- | src/portab/portabtest.c | 6 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/portab/portab.h b/src/portab/portab.h index 5f2ee3d0..2a133efc 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: portab.h,v 1.21 2005/04/16 09:23:01 fw Exp $ + * $Id: portab.h,v 1.22 2005/07/31 20:13:11 alex Exp $ * * Portability functions and declarations (header for libngbportab). */ @@ -65,9 +65,6 @@ #endif -/* keywords */ -#define LOCAL static - /* datatypes */ #ifndef PROTOTYPES diff --git a/src/portab/portabtest.c b/src/portab/portabtest.c index d9bea61f..0a2098ed 100644 --- a/src/portab/portabtest.c +++ b/src/portab/portabtest.c @@ -14,7 +14,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: portabtest.c,v 1.12 2005/03/19 18:43:50 fw Exp $"; +static char UNUSED id[] = "$Id: portabtest.c,v 1.13 2005/07/31 20:13:11 alex Exp $"; #include "imp.h" #include <stdarg.h> @@ -25,7 +25,7 @@ static char UNUSED id[] = "$Id: portabtest.c,v 1.12 2005/03/19 18:43:50 fw Exp $ #include "exp.h" -LOCAL void Panic PARAMS (( char *Reason, int Code )); +static void Panic PARAMS (( char *Reason, int Code )); GLOBAL int @@ -51,7 +51,7 @@ main( void ) } /* portab_check_types */ -LOCAL void +static void Panic( char *Reason, int Code ) { /* Oops, something failed!? */ |