diff options
author | obrien <obrien@FreeBSD.org> | 2010-10-13 22:18:03 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-10-13 22:18:03 +0000 |
commit | 08b8d916b5887267ef963fd711f1e65b7d8378ac (patch) | |
tree | e6aebfbd6fc9b05a3d5978a6cd639a9acb7a748a /bin/sh/error.c | |
parent | 67f7009c396ada7a6c986ffb8369f851e1063b6f (diff) | |
download | FreeBSD-src-08b8d916b5887267ef963fd711f1e65b7d8378ac.zip FreeBSD-src-08b8d916b5887267ef963fd711f1e65b7d8378ac.tar.gz |
In the spirit of r90111, depend on c89 and remove the "STATIC" macro
and its usage.
Diffstat (limited to 'bin/sh/error.c')
-rw-r--r-- | bin/sh/error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/error.c b/bin/sh/error.c index a722ee1..beb75fa 100644 --- a/bin/sh/error.c +++ b/bin/sh/error.c @@ -67,7 +67,7 @@ volatile sig_atomic_t intpending; char *commandname; -STATIC void exverror(int, const char *, va_list) __printf0like(2, 0) __dead2; +static void exverror(int, const char *, va_list) __printf0like(2, 0) __dead2; /* * Called to raise an exception. Since C doesn't include exceptions, we @@ -139,7 +139,7 @@ onint(void) * is not NULL then error prints an error message using printf style * formatting. It then raises the error exception. */ -STATIC void +static void exverror(int cond, const char *msg, va_list ap) { /* |