summaryrefslogtreecommitdiff
path: root/community/librcc/librcc-strnlen.patch
blob: 9fc0e8b0ba0333d76a8fcca2e1066e2b71b425bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -wbBur librcc-0.2.6/src/rccstring.h librcc-0.2.6.qwe/src/rccstring.h
--- librcc-0.2.6/src/rccstring.h	2006-01-08 15:42:59.000000000 +0000
+++ librcc-0.2.6.qwe/src/rccstring.h	2009-09-28 08:45:37.000000000 +0000
@@ -18,13 +18,6 @@
 int rccStringFixID(rcc_string string, rcc_context ctx);
 int rccStringChangeID(rcc_string string, rcc_language_id language_id);
 
-#ifdef HAVE_STRNLEN
-# ifndef strnlen
-int strnlen(const char *str, size_t size);
-# endif /* !strnlen */
-#else
-int rccStrnlen(const char *str, size_t size);
-#endif /* HAVE_STRNLEN */
 int rccIsASCII(const char *str);
 size_t rccStringSizedGetChars(const char *str, size_t size);