summaryrefslogtreecommitdiff
path: root/mach/mach_error.h
diff options
context:
space:
mode:
Diffstat (limited to 'mach/mach_error.h')
-rw-r--r--mach/mach_error.h28
1 files changed, 22 insertions, 6 deletions
diff --git a/mach/mach_error.h b/mach/mach_error.h
index 852ab4e622..f88d1732e8 100644
--- a/mach/mach_error.h
+++ b/mach/mach_error.h
@@ -26,6 +26,28 @@
/*
* HISTORY
* $Log$
+ * 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 <thomas@gnu.ai.mit.edu>
+ *
+ * * 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/mach_traps.h>.
+ * * mach/spin-solid.c (__spin_lock_solid): Provide arg to
+ * swtch_pri.
+ *
+ * * mach/mach_init.c: Include <mach/mig_support.h>.
+ *
+ * * 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 +75,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_