From: Sebastian Harl Date: Wed, 1 Nov 2006 07:44:41 +0000 (+0000) Subject: Removed lib/*.diff and libneon/*.diff. X-Git-Tag: cadaver-0.22.3+debian-1~13 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=30f4f5e6974ce78f096d1de0d71e76f13f3443d8;p=pkg-cadaver.git Removed lib/*.diff and libneon/*.diff. I do not see any reason to inline these functions. --- diff --git a/lib/glob.c.diff b/lib/glob.c.diff deleted file mode 100644 index 6672c6d..0000000 --- a/lib/glob.c.diff +++ /dev/null @@ -1,22 +0,0 @@ ---- cadaver-0.22.2.orig/lib/glob.c -+++ cadaver-0.22.2/lib/glob.c -@@ -305,9 +305,6 @@ - #include - - static --#if __GNUC__ - 0 >= 2 --inline --#endif - const char *next_brace_sub __P ((const char *begin)); - static int glob_in_dir __P ((const char *pattern, const char *directory, - int flags, -@@ -320,9 +317,6 @@ - /* Find the end of the sub-pattern in a brace expression. We define - this as an inline function if the compiler permits. */ - static --#if __GNUC__ - 0 >= 2 --inline --#endif - const char * - next_brace_sub (begin) - const char *begin; diff --git a/libneon/ne_locks.c.diff b/libneon/ne_locks.c.diff deleted file mode 100644 index 77d5323..0000000 --- a/libneon/ne_locks.c.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- cadaver-0.22.2.orig/libneon/ne_locks.c -+++ cadaver-0.22.2/libneon/ne_locks.c -@@ -505,7 +505,7 @@ - return end_element_common(lock, state, ctx->cdata->data); - } - --static inline int can_accept(int parent, int id) -+static int can_accept(int parent, int id) - { - return (parent == NE_XML_STATEROOT && id == ELM_prop) || - (parent == ELM_prop && id == ELM_lockdiscovery) || diff --git a/libneon/ne_request.c.diff b/libneon/ne_request.c.diff deleted file mode 100644 index 445f96d..0000000 --- a/libneon/ne_request.c.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- cadaver-0.22.2.orig/libneon/ne_request.c -+++ cadaver-0.22.2/libneon/ne_request.c -@@ -176,7 +176,7 @@ - - /* Returns hash value for header 'name', converting it to lower-case - * in-place. */ --static inline unsigned int hash_and_lower(char *name) -+static unsigned int hash_and_lower(char *name) - { - char *pnt; - unsigned int hash = 0; -@@ -868,7 +868,7 @@ - /* remove trailing EOL from 'buf', where strlen(buf) == *len. *len is - * adjusted in accordance with any changes made to the string to - * remain equal to strlen(buf). */ --static inline void strip_eol(char *buf, ssize_t *len) -+static void strip_eol(char *buf, ssize_t *len) - { - char *pnt = &buf[*len-1]; - while (pnt >= buf && (*pnt == '\r' || *pnt == '\n')) {