aboutsummaryrefslogtreecommitdiff
path: root/contrib/csup/misc.h
diff options
context:
space:
mode:
authorUlf Lilleengen <lulf@FreeBSD.org>2008-11-20 19:51:06 +0000
committerUlf Lilleengen <lulf@FreeBSD.org>2008-11-20 19:51:06 +0000
commit49e63a72768ca5b06ea73e0aacdf6390f1872854 (patch)
tree227b23df11cb860ec67eaa4e55689934390f2629 /contrib/csup/misc.h
parentbd04e3119ff41aee51c0859d15a5f57ccfdc1c15 (diff)
downloadsrc-49e63a72768ca5b06ea73e0aacdf6390f1872854.tar.gz
src-49e63a72768ca5b06ea73e0aacdf6390f1872854.zip
- Refactor some parts of the code and increase code reuse.
- Fix a lot of style issues remaining and old debugging output. - Update comments where needed.
Notes
Notes: svn path=/projects/csup_cvsmode/; revision=185134
Diffstat (limited to 'contrib/csup/misc.h')
-rw-r--r--contrib/csup/misc.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/contrib/csup/misc.h b/contrib/csup/misc.h
index 1f6d8b245ec6..a7ca3a625ac0 100644
--- a/contrib/csup/misc.h
+++ b/contrib/csup/misc.h
@@ -99,30 +99,30 @@ struct backoff_timer;
struct pattlist;
struct tm;
-int asciitoint(const char *, int *, int);
-int lprintf(int, const char *, ...) __printflike(2, 3);
-int MD5_File(char *, char *);
-void MD5_End(char *, MD5_CTX *);
-int rcsdatetotm(const char *, struct tm *);
-time_t rcsdatetotime(const char *);
-int pathcmp(const char *, const char *);
-size_t commonpathlength(const char *, size_t, const char *, size_t);
-const char *pathlast(const char *); /*XXX*/
-int isrcs(const char *, size_t *);
-char *checkoutpath(const char *, const char *);
-char *cvspath(const char *, const char *, int);
-char *atticpath(const char *, const char *);
-char *path_prefix(char *);
-char *path_first(char *);
-int mkdirhier(char *, mode_t);
-char *tempname(const char *);
-void *xmalloc(size_t);
-void *xrealloc(void *, size_t);
-char *xstrdup(const char *);
-int xasprintf(char **, const char *, ...) __printflike(2, 3);
-int rcsnum_cmp(char *, char *);
-int rcsrev_istrunk(char *);
-char *rcsrev_prefix(char *);
+int asciitoint(const char *, int *, int);
+int lprintf(int, const char *, ...) __printflike(2, 3);
+int MD5_File(char *, char *);
+void MD5_End(char *, MD5_CTX *);
+int rcsdatetotm(const char *, struct tm *);
+time_t rcsdatetotime(const char *);
+int pathcmp(const char *, const char *);
+size_t commonpathlength(const char *, size_t, const char *, size_t);
+const char *pathlast(const char *);
+int isrcs(const char *, size_t *);
+char *checkoutpath(const char *, const char *);
+char *cvspath(const char *, const char *, int);
+char *atticpath(const char *, const char *);
+char *path_prefix(char *);
+char *path_first(char *);
+int mkdirhier(char *, mode_t);
+char *tempname(const char *);
+void *xmalloc(size_t);
+void *xrealloc(void *, size_t);
+char *xstrdup(const char *);
+int xasprintf(char **, const char *, ...) __printflike(2, 3);
+int rcsnum_cmp(char *, char *);
+int rcsrev_istrunk(char *);
+char *rcsrev_prefix(char *);
struct pattlist *pattlist_new(void);
void pattlist_add(struct pattlist *, const char *);