diff options
author | Jay Freeman <saurik@saurik.com> | 2008-08-18 17:18:05 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-08-18 17:18:05 +0000 |
commit | 38ba00af8024540ede8969fb84a56945d4e675b8 (patch) | |
tree | ed02eb4288cf5aa58dde0831aa5fbd104f7e8663 /data/weechat_/strndup.diff | |
parent | c84057bb1338d6c975e9714772dce288e4345310 (diff) |
Moving weechat to the index.
git-svn-id: http://svn.telesphoreo.org/trunk@423 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/weechat_/strndup.diff')
-rw-r--r-- | data/weechat_/strndup.diff | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/data/weechat_/strndup.diff b/data/weechat_/strndup.diff deleted file mode 100644 index a472caf53..000000000 --- a/data/weechat_/strndup.diff +++ /dev/null @@ -1,33 +0,0 @@ -diff -ru weechat-0.2.6/src/common/util.c weechat-0.2.6+iPhone/src/common/util.c ---- weechat-0.2.6/src/common/util.c 2007-08-31 13:24:45.000000000 +0000 -+++ weechat-0.2.6+iPhone/src/common/util.c 2008-07-31 03:29:17.000000000 +0000 -@@ -43,6 +43,7 @@ - - #include "weechat.h" - #include "utf8.h" -+#include "util.h" - #include "weeconfig.h" - - -@@ -52,7 +53,7 @@ - - #ifndef HAVE_STRNDUP - char * --strndup (char *string, int length) -+strndup (const char *string, size_t length) - { - char *result; - -diff -ru weechat-0.2.6/src/common/util.h weechat-0.2.6+iPhone/src/common/util.h ---- weechat-0.2.6/src/common/util.h 2007-07-11 11:21:02.000000000 +0000 -+++ weechat-0.2.6+iPhone/src/common/util.h 2008-07-31 03:28:59.000000000 +0000 -@@ -21,7 +21,8 @@ - #define __WEECHAT_UTIL_H 1 - - #ifndef HAVE_STRNDUP --extern char *strndup (char *, int); -+#undef strndup -+extern char *strndup (const char *, size_t); - #endif - extern void ascii_tolower (char *); - extern void ascii_toupper (char *); |