aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorJason Woodward2005-02-16 15:01:07 +0000
committerJason Woodward2005-02-16 15:01:07 +0000
commitb35d8c2ba530c055f4b31d2ebf2a645ce62c412a (patch)
treeca4bf38fed21d9dd0495b73e0d8a9d4894883a56 /src/common.h
parent5afcf678e0a577dbe8b8ef90c595e3071593b8a3 (diff)
downloadslapt-get-b35d8c2ba530c055f4b31d2ebf2a645ce62c412a.tar.gz
init_regex now returns on failure
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 1fab134..fd738fb 100644
--- a/src/common.h
+++ b/src/common.h
@@ -37,7 +37,7 @@ typedef struct {
FILE *open_file(const char *file_name,const char *mode);
-void init_regex(sg_regex *regex_t, const char *regex_string);
+int init_regex(sg_regex *regex_t, const char *regex_string);
void execute_regex(sg_regex *regex_t,const char *string);
void free_regex(sg_regex *regex_t);
void create_dir_structure(const char *dir_name);