summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/err.c8
-rw-r--r--lib/libc/locale/collate.c7
2 files changed, 8 insertions, 7 deletions
diff --git a/lib/libc/gen/err.c b/lib/libc/gen/err.c
index 63ef8a4de346..bf7d3470515c 100644
--- a/lib/libc/gen/err.c
+++ b/lib/libc/gen/err.c
@@ -67,7 +67,7 @@ err_set_exit(void (*ef)(int))
err_exit = ef;
}
-__dead void
+void
#ifdef __STDC__
err(int eval, const char *fmt, ...)
#else
@@ -87,7 +87,7 @@ err(eval, fmt, va_alist)
va_end(ap);
}
-__dead void
+void
verr(eval, fmt, ap)
int eval;
const char *fmt;
@@ -109,7 +109,7 @@ verr(eval, fmt, ap)
exit(eval);
}
-__dead void
+void
#if __STDC__
errx(int eval, const char *fmt, ...)
#else
@@ -129,7 +129,7 @@ errx(eval, fmt, va_alist)
va_end(ap);
}
-__dead void
+void
verrx(eval, fmt, ap)
int eval;
const char *fmt;
diff --git a/lib/libc/locale/collate.c b/lib/libc/locale/collate.c
index ef73cefebb74..20adda35cb68 100644
--- a/lib/libc/locale/collate.c
+++ b/lib/libc/locale/collate.c
@@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: collate.c,v 1.4 1995/05/30 05:40:40 rgrimes Exp $
+ * $Id: collate.c,v 1.5 1995/10/23 20:08:24 ache Exp $
*/
#include <rune.h>
@@ -52,7 +52,7 @@ struct __collate_st_chain_pri __collate_chain_pri_table[TABLE_SIZE];
} \
} while(0)
-__dead void __collate_err(int ex, const char *f) __dead2;
+void __collate_err(int ex, const char *f) __dead2;
int
__collate_load_tables(encoding)
@@ -163,7 +163,8 @@ __collate_strdup(s)
return t;
}
-__dead void __collate_err(int ex, const char *f)
+void
+__collate_err(int ex, const char *f)
{
extern char *__progname; /* Program name, from crt0. */
const char *s;