diff options
author | kris <kris@FreeBSD.org> | 2001-04-17 07:46:38 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2001-04-17 07:46:38 +0000 |
commit | b6da0fca774d229c4776e41d019373d1ec0df7ab (patch) | |
tree | 90405fcc57a8301012105d9d0facc3ded561a0f6 /bin/sh/bltin | |
parent | 9acb56a18a243e153f49b5fc26f3b3050492b013 (diff) | |
download | FreeBSD-src-b6da0fca774d229c4776e41d019373d1ec0df7ab.zip FreeBSD-src-b6da0fca774d229c4776e41d019373d1ec0df7ab.tar.gz |
-Wnon-const-format sweep: make format strings const char *'s, add
__printflike()/__printf0like() to function prototypes, as appropriate.
Reviewed by: bde, -audit
Diffstat (limited to 'bin/sh/bltin')
-rw-r--r-- | bin/sh/bltin/bltin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/bltin/bltin.h b/bin/sh/bltin/bltin.h index a96c476..5d2b02a 100644 --- a/bin/sh/bltin/bltin.h +++ b/bin/sh/bltin/bltin.h @@ -85,7 +85,7 @@ #ifdef __STDC__ pointer stalloc(int); -void error(char *, ...); +void error(const char *, ...) __printf0like(1, 2); #else pointer stalloc(); void error(); |