summaryrefslogtreecommitdiffstats
path: root/bin/sh/bltin
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-04-17 07:46:38 +0000
committerkris <kris@FreeBSD.org>2001-04-17 07:46:38 +0000
commitb6da0fca774d229c4776e41d019373d1ec0df7ab (patch)
tree90405fcc57a8301012105d9d0facc3ded561a0f6 /bin/sh/bltin
parent9acb56a18a243e153f49b5fc26f3b3050492b013 (diff)
downloadFreeBSD-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.h2
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();
OpenPOWER on IntegriCloud