Browse Source

Move strerror() prototype to string.h, where it belongs

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
e5f0898f38
2 changed files with 2 additions and 2 deletions
  1. 0
    2
      src/include/errno.h
  2. 2
    0
      src/include/string.h

+ 0
- 2
src/include/errno.h View File

176
 
176
 
177
 extern int errno;
177
 extern int errno;
178
 
178
 
179
-extern const char * strerror ( int errno );
180
-
181
 struct errortab {
179
 struct errortab {
182
 	int errno;
180
 	int errno;
183
 	const char *text;
181
 	const char *text;

+ 2
- 0
src/include/string.h View File

68
 void * memchr(const void *s, int c, size_t n);
68
 void * memchr(const void *s, int c, size_t n);
69
 char * strdup(const char *s);
69
 char * strdup(const char *s);
70
 
70
 
71
+extern const char * strerror ( int errno );
72
+
71
 #endif /* ETHERBOOT_STRING */
73
 #endif /* ETHERBOOT_STRING */

Loading…
Cancel
Save