From 32fff90d82873a2ba1a4c6724368ceb7c4480346 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Mar 1997 03:52:48 +0000 Subject: (mach_error_string, mach_error, mach_error_type): Always provide prototypes. --- mach/mach_error.h | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/mach/mach_error.h b/mach/mach_error.h index 852ab4e622..ca73cc33f0 100644 --- a/mach/mach_error.h +++ b/mach/mach_error.h @@ -26,6 +26,32 @@ /* * HISTORY * $Log$ + * Revision 1.2.2.1 1997/03/17 03:52:48 drepper + * (mach_error_string, mach_error, mach_error_type): Always provide + * prototypes. + * + * Revision 1.3 1997/03/16 17:42:25 drepper + * (mach_error_string, mach_error, mach_error_type): Always provide + * prototypes. + * (mach_error_fn_t): Comment out declaration; it appears to be entirely + * unused dead code. + * + * Revision 1.3 1997/03/14 15:26:31 thomas + * Wed Mar 5 10:40:05 1997 Thomas Bushnell, n/BSG + * + * * mach/mach_error.c (mach_error_string_int): Give full prototype. + * * mach/errstring.c (mach_error_string_int): Likewise. + * * mach/error_compat.c (__mach_error_map_compat): Likewise. + * + * * mach/spin-solid.c: Include . + * * mach/spin-solid.c (__spin_lock_solid): Provide arg to + * swtch_pri. + * + * * mach/mach_init.c: Include . + * + * * mach/mach_error.h (mach_error_string, mach_error, + * mach_error_type): Always provide prototypes. + * * Revision 1.2 1993/11/23 20:39:08 mib * entered into RCS * @@ -53,28 +79,22 @@ const char *mach_error_string( /* * Returns a string appropriate to the error argument given */ -#if c_plusplus mach_error_t error_value -#endif c_plusplus ); void mach_error( /* * Prints an appropriate message on the standard error stream */ -#if c_plusplus char *str, mach_error_t error_value -#endif c_plusplus ); const char *mach_error_type( /* * Returns a string with the error system, subsystem and code */ -#if c_plusplus mach_error_t error_value -#endif c_plusplus ); #endif _MACH_ERROR_ -- cgit v1.2.3