diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-02-27 21:15:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-02-27 21:15:30 +0000 |
commit | 343810d95a1343a7d3f996827c938fb3109053bc (patch) | |
tree | 53cbefe97f297642f74521fd0ed7ffc4a01b91ac /clopts_common.h | |
parent | 36833b76d8b62c3eac22ef0943b9e553e3518bb9 (diff) |
Move "get_natural_int()" and "get_positive_int()" from "capture_opts.c"
to "clopts_common.c", make them not static, and use them in "gtk/main.c".
svn path=/trunk/; revision=13541
Diffstat (limited to 'clopts_common.h')
-rw-r--r-- | clopts_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clopts_common.h b/clopts_common.h index 2584cd662b..376ddcc9c3 100644 --- a/clopts_common.h +++ b/clopts_common.h @@ -35,6 +35,10 @@ extern "C" { */ void handle_dashG_option(int argc, char **argv, char *progname); +int get_natural_int(const char *appname, const char *string, const char *name); + +int get_positive_int(const char *appname, const char *string, const char *name); + #ifdef __cplusplus } #endif /* __cplusplus */ |