author | Michael Krelin <hacker@klever.net> | 2007-07-20 18:56:43 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-20 18:56:43 (UTC) |
commit | 127f43d4e202ba3e63f72add44238c2686dd97f3 (patch) (side-by-side diff) | |
tree | 5543c525155fdb0d925d881094307e4be807c002 /cgit.h | |
parent | 3aae82703bfe70fc273f0611cdc780804df77bb8 (diff) | |
download | cgit-127f43d4e202ba3e63f72add44238c2686dd97f3.zip cgit-127f43d4e202ba3e63f72add44238c2686dd97f3.tar.gz cgit-127f43d4e202ba3e63f72add44238c2686dd97f3.tar.bz2 |
added a chk_non_negative check
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -154,12 +154,13 @@ extern struct repoinfo *cgit_get_repoinfo(const char *url); extern void cgit_global_config_cb(const char *name, const char *value); extern void cgit_repo_config_cb(const char *name, const char *value); extern void cgit_querystring_cb(const char *name, const char *value); extern int chk_zero(int result, char *msg); extern int chk_positive(int result, char *msg); +extern int chk_non_negative(int result, char *msg); extern int hextoint(char c); extern char *trim_end(const char *str, char c); extern void *cgit_free_commitinfo(struct commitinfo *info); |