freemyipod r114 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r113‎ | r114 | r115 >
Date:15:31, 12 August 2010
Author:theseven
Status:new
Tags:
Comment:
Hopefully fix the remaining red
Modified paths:
  • /embios/trunk/dir.c (modified) (history)
  • /embios/trunk/file.c (modified) (history)
  • /embios/trunk/libc/include/stdio.h (modified) (history)
  • /embios/trunk/strcasecmp.c (modified) (history)
  • /embios/trunk/strcasestr.c (modified) (history)
  • /embios/trunk/strlcat.c (modified) (history)
  • /embios/trunk/strlcpy.c (modified) (history)

Diff [purge]

Index: embios/trunk/strcasecmp.c
@@ -1,5 +1,5 @@
22 #include "global.h"
3 -#include "string.h"
 3+#include "libc/include/string.h"
44 #include "libc/include/ctype.h"
55
66 int strcasecmp(const char *s1, const char *s2)
Index: embios/trunk/libc/include/stdio.h
@@ -2,7 +2,7 @@
33 #define _STDIO_H_
44
55 #include "../../global.h"
6 -#include <_ansi.h>
 6+#include "_ansi.h"
77
88 #define __need_size_t
99 #include <stddef.h>
Index: embios/trunk/strlcpy.c
@@ -17,7 +17,7 @@
1818 */
1919
2020 #include "global.h"
21 -#include <string.h>
 21+#include "libc/include/string.h"
2222
2323 /*
2424 * Copy src to string dst of size siz. At most siz-1 characters
Index: embios/trunk/strlcat.c
@@ -17,7 +17,7 @@
1818 */
1919
2020 #include "global.h"
21 -#include <string.h>
 21+#include "libc/include/string.h"
2222
2323 /*
2424 * Appends src to string dst of size siz (unlike strncat, siz is the
Index: embios/trunk/dir.c
@@ -19,8 +19,8 @@
2020 *
2121 ****************************************************************************/
2222 #include "global.h"
23 -#include <errno.h>
24 -#include <string.h>
 23+#include "libc/include/errno.h"
 24+#include "libc/include/string.h"
2525 #include "fat.h"
2626 #include "dir.h"
2727 #include "debug.h"
Index: embios/trunk/file.c
@@ -19,8 +19,8 @@
2020 *
2121 ****************************************************************************/
2222 #include "global.h"
23 -#include <string.h>
24 -#include <errno.h>
 23+#include "libc/include/errno.h"
 24+#include "libc/include/string.h"
2525 #include "file.h"
2626 #include "fat.h"
2727 #include "dir.h"
Index: embios/trunk/strcasestr.c
@@ -30,7 +30,7 @@
3131 * 2004 Apr 08 Jose Da Silva, digital@joescat@com */
3232
3333 #include "global.h"
34 -#include "string.h"
 34+#include "libc/include/string.h"
3535 #include "libc/include/ctype.h"
3636
3737 typedef unsigned chartype;