diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2008-08-04 01:25:48 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2008-08-04 01:25:48 +0000 |
| commit | f9bcf9cabfc4f147200688700289c31c663caf99 (patch) | |
| tree | 229041eea5ad591ae2c140ea64950ea8a82735f1 /bin | |
| parent | 61328d7a97e582bfc9c03af1abbc42c8d04f16b4 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/echo/echo.c | 2 | ||||
| -rw-r--r-- | bin/sh/mknodes.c | 2 | ||||
| -rw-r--r-- | bin/stty/gfmt.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/bin/echo/echo.c b/bin/echo/echo.c index 45d9d7e18c52..68ff581f8475 100644 --- a/bin/echo/echo.c +++ b/bin/echo/echo.c @@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$"); * Report an error and exit. * Use it instead of err(3) to avoid linking-in stdio. */ -static void +static __dead2 void errexit(const char *prog, const char *reason) { char *errstr = strerror(errno); diff --git a/bin/sh/mknodes.c b/bin/sh/mknodes.c index 53086bd44ac8..f0afca6800c8 100644 --- a/bin/sh/mknodes.c +++ b/bin/sh/mknodes.c @@ -103,7 +103,7 @@ static void indent(int, FILE *); static int nextfield(char *); static void skipbl(void); static int readline(void); -static void error(const char *, ...) __printf0like(1, 2); +static void error(const char *, ...) __printf0like(1, 2) __dead2; static char *savestr(const char *); diff --git a/bin/stty/gfmt.c b/bin/stty/gfmt.c index c35a6fc4604d..339da5970684 100644 --- a/bin/stty/gfmt.c +++ b/bin/stty/gfmt.c @@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$"); #include "stty.h" #include "extern.h" -static void gerr(const char *s); +static void gerr(const char *s) __dead2; static void gerr(const char *s) |
