Code

Removed lib/*.diff and libneon/*.diff.
authorSebastian Harl <sh@tokkee.org>
Wed, 1 Nov 2006 07:44:41 +0000 (07:44 +0000)
committerSebastian Harl <sh@tokkee.org>
Wed, 1 Nov 2006 08:09:11 +0000 (08:09 +0000)
I do not see any reason to inline these functions.

lib/glob.c.diff [deleted file]
libneon/ne_locks.c.diff [deleted file]
libneon/ne_request.c.diff [deleted file]

diff --git a/lib/glob.c.diff b/lib/glob.c.diff
deleted file mode 100644 (file)
index 6672c6d..0000000
+++ /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 <glob.h>
\f
- 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 (file)
index 77d5323..0000000
+++ /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 (file)
index 445f96d..0000000
+++ /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')) {