PKGBUILDs/community/librcc/librcc-strnlen.patch

18 lines
652 B
Diff
Raw Normal View History

2009-10-10 02:15:33 +00:00
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);