diff --git a/sys/lib/libkern/__assert.c b/sys/lib/libkern/__assert.c index 326287d284c1..d70f5b94a6ac 100644 --- a/sys/lib/libkern/__assert.c +++ b/sys/lib/libkern/__assert.c @@ -1,4 +1,4 @@ -/* $NetBSD: __assert.c,v 1.3 1999/02/11 15:39:31 pk Exp $ */ +/* $NetBSD: __assert.c,v 1.4 1999/04/13 19:00:30 drochner Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou @@ -36,6 +36,9 @@ #ifdef _STANDALONE #include +#else +void __assert __P((const char *, const char *, int, const char *)) + __attribute__((__noreturn__)); /* XXX */ #endif void diff --git a/sys/lib/libkern/inet_addr.c b/sys/lib/libkern/inet_addr.c index 32d2758586ac..1a73c9ea7351 100644 --- a/sys/lib/libkern/inet_addr.c +++ b/sys/lib/libkern/inet_addr.c @@ -1,4 +1,4 @@ -/* $NetBSD: inet_addr.c,v 1.3 1999/04/12 17:23:23 drochner Exp $ */ +/* $NetBSD: inet_addr.c,v 1.4 1999/04/13 19:00:30 drochner Exp $ */ /* Copyright (c) 1996 by Internet Software Consortium. * @@ -44,7 +44,11 @@ * Ascii internet address interpretation routine. * The value returned is in network order. */ +#if !defined(_KERNEL) && !defined(_STANDALONE) +u_long /* XXX to comply with the prototype in */ +#else u_int32_t +#endif inet_addr(src) const char *src; {