aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/errno.h
diff options
context:
space:
mode:
authorPaul Richards <paul@FreeBSD.org>1994-08-21 04:42:17 +0000
committerPaul Richards <paul@FreeBSD.org>1994-08-21 04:42:17 +0000
commitaf9da40534e73a12db5dfa3b935fc202f955f7fc (patch)
tree503b5194bb3f101dcab5d49f27345f4dbb655a87 /sys/sys/errno.h
parent208d6b358842ff5a210d2ad7fa6ca355a5269b2e (diff)
downloadsrc-af9da40534e73a12db5dfa3b935fc202f955f7fc.tar.gz
src-af9da40534e73a12db5dfa3b935fc202f955f7fc.zip
Made them all idempotent.
Reviewed by: Submitted by:
Notes
Notes: svn path=/head/; revision=2165
Diffstat (limited to 'sys/sys/errno.h')
-rw-r--r--sys/sys/errno.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/errno.h b/sys/sys/errno.h
index 96d52f323b0c..3bac4ed751de 100644
--- a/sys/sys/errno.h
+++ b/sys/sys/errno.h
@@ -36,9 +36,12 @@
* SUCH DAMAGE.
*
* @(#)errno.h 8.5 (Berkeley) 1/21/94
- * $Id$
+ * $Id: errno.h,v 1.2 1994/08/02 07:52:54 davidg Exp $
*/
+#ifndef _SYS_ERRNO_H_
+#define _SYS_ERRNO_H_
+
#ifndef KERNEL
extern int errno; /* global error number */
#endif
@@ -162,3 +165,5 @@ extern int errno; /* global error number */
#define ERESTART -1 /* restart syscall */
#define EJUSTRETURN -2 /* don't modify regs, just return */
#endif
+
+#endif