]> gitweb.ps.run Git - ps-cgit/blobdiff - parsing.c
Update copyright information
[ps-cgit] / parsing.c
index 9b7efb31260658948bfae8374488bd673c815e16..248b6ee9d8ca8e60df28e25456e2ae04c901d34d 100644 (file)
--- a/parsing.c
+++ b/parsing.c
@@ -1,6 +1,6 @@
 /* config.c: parsing of config files
  *
- * Copyright (C) 2006 Lars Hjemli
+ * Copyright (C) 2006-2014 cgit Development Team <cgit@lists.zx2c4.com>
  *
  * Licensed under GNU General Public License v2
  *   (see COPYING for full license text)
@@ -52,7 +52,7 @@ void cgit_parse_url(const char *url)
        }
 }
 
-char *substr(const char *head, const char *tail)
+static char *substr(const char *head, const char *tail)
 {
        char *buf;
 
@@ -64,7 +64,7 @@ char *substr(const char *head, const char *tail)
        return buf;
 }
 
-char *parse_user(char *t, char **name, char **email, unsigned long *date)
+static char *parse_user(char *t, char **name, char **email, unsigned long *date)
 {
        char *p = t;
        int mode = 1;
@@ -101,7 +101,7 @@ char *parse_user(char *t, char **name, char **email, unsigned long *date)
 #ifdef NO_ICONV
 #define reencode(a, b, c)
 #else
-const char *reencode(char **txt, const char *src_enc, const char *dst_enc)
+static const char *reencode(char **txt, const char *src_enc, const char *dst_enc)
 {
        char *tmp;