Code

Initial commit.
[pkg-cadaver.git] / libneon / ne_request.c.diff
1 --- cadaver-0.22.2.orig/libneon/ne_request.c
2 +++ cadaver-0.22.2/libneon/ne_request.c
3 @@ -176,7 +176,7 @@
4  
5  /* Returns hash value for header 'name', converting it to lower-case
6   * in-place. */
7 -static inline unsigned int hash_and_lower(char *name)
8 +static unsigned int hash_and_lower(char *name)
9  {
10      char *pnt;
11      unsigned int hash = 0;
12 @@ -868,7 +868,7 @@
13  /* remove trailing EOL from 'buf', where strlen(buf) == *len.  *len is
14   * adjusted in accordance with any changes made to the string to
15   * remain equal to strlen(buf). */
16 -static inline void strip_eol(char *buf, ssize_t *len)
17 +static void strip_eol(char *buf, ssize_t *len)
18  {
19      char *pnt = &buf[*len-1];
20      while (pnt >= buf && (*pnt == '\r' || *pnt == '\n')) {