Explorar el Código

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

tags/v0.9.3
Michael Brown hace 17 años
padre
commit
e5f0898f38
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 0
    2
      src/include/errno.h
  2. 2
    0
      src/include/string.h

+ 0
- 2
src/include/errno.h Ver fichero

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

+ 2
- 0
src/include/string.h Ver fichero

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

Loading…
Cancelar
Guardar