about summary refs log tree commit diff
path: root/mach
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-03-17 03:52:48 +0000
committerUlrich Drepper <drepper@redhat.com>1997-03-17 03:52:48 +0000
commit32fff90d82873a2ba1a4c6724368ceb7c4480346 (patch)
tree7551a154da8147f298187ebea6a666bf0ae00ab3 /mach
parent00aec83a302ca3829088df22aeac9afd617b9106 (diff)
downloadglibc-32fff90d82873a2ba1a4c6724368ceb7c4480346.tar.gz
glibc-32fff90d82873a2ba1a4c6724368ceb7c4480346.tar.xz
glibc-32fff90d82873a2ba1a4c6724368ceb7c4480346.zip
(mach_error_string, mach_error, mach_error_type): Always provide
prototypes.
Diffstat (limited to 'mach')
-rw-r--r--mach/mach_error.h32
1 files 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  <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 +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_