diff options
Diffstat (limited to 'bin/sh/error.h')
-rw-r--r-- | bin/sh/error.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/error.h b/bin/sh/error.h index b86e177..938ef91 100644 --- a/bin/sh/error.h +++ b/bin/sh/error.h @@ -91,8 +91,8 @@ extern volatile sig_atomic_t intpending; void exraise __P((int)); void onint __P((void)); -void error __P((char *, ...)); -void exerror __P((int, char *, ...)); +void error __P((const char *, ...)) __printf0like(1, 2); +void exerror __P((int, const char *, ...)) __printf0like(2, 3); char *errmsg __P((int, int)); |