aboutsummaryrefslogtreecommitdiff
path: root/src/tool_paramhlp.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-11-26 16:23:02 +0100
committerYang Tse <yangsita@gmail.com>2012-11-26 16:23:48 +0100
commit79954a1b07c6fc8ed4cf9d48c6383521b184c818 (patch)
tree3b910417595148ddb7174e7f30f734666af93c88 /src/tool_paramhlp.h
parentb33074d8931f2fd19f07ede99228abba393e2a4e (diff)
avoid mixing of enumerated type with another type
Diffstat (limited to 'src/tool_paramhlp.h')
-rw-r--r--src/tool_paramhlp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tool_paramhlp.h b/src/tool_paramhlp.h
index 50c693efd..de1604e90 100644
--- a/src/tool_paramhlp.h
+++ b/src/tool_paramhlp.h
@@ -31,12 +31,12 @@ ParameterError file2memory(char **bufp, size_t *size, FILE *file);
void cleanarg(char *str);
-int str2num(long *val, const char *str);
-int str2unum(long *val, const char *str); /* for unsigned input numbers */
+ParameterError str2num(long *val, const char *str);
+ParameterError str2unum(long *val, const char *str);
long proto2num(struct Configurable *config, long *val, const char *str);
-int str2offset(curl_off_t *val, const char *str);
+ParameterError str2offset(curl_off_t *val, const char *str);
ParameterError checkpasswd(const char *kind, char **userpwd);