OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef3e58
)
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
author
jjohnstn
<jjohnstn>
Fri, 21 Jun 2002 15:26:45 +0000
(15:26 +0000)
committer
jjohnstn
<jjohnstn>
Fri, 21 Jun 2002 15:26:45 +0000
(15:26 +0000)
* libc/include/errno.h: Protect from multiple inclusion.
newlib/ChangeLog
patch
|
blob
|
history
newlib/libc/include/errno.h
patch
|
blob
|
history
diff --git
a/newlib/ChangeLog
b/newlib/ChangeLog
index
e4df3ce
..
0af3c57
100644
(file)
--- a/
newlib/ChangeLog
+++ b/
newlib/ChangeLog
@@
-1,3
+1,7
@@
+2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/errno.h: Protect from multiple inclusion.
+
2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
* libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
diff --git
a/newlib/libc/include/errno.h
b/newlib/libc/include/errno.h
index
8584a63
..
81eaef7
100644
(file)
--- a/
newlib/libc/include/errno.h
+++ b/
newlib/libc/include/errno.h
@@
-1,3
+1,8
@@
+#ifndef __ERRNO_H__
+#define __ERRNO_H__
+
typedef int error_t;
#include <sys/errno.h>
+
+#endif /* !__ERRNO_H__ */