aboutsummaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorJason Woodward2004-11-27 03:06:22 +0000
committerJason Woodward2004-11-27 03:06:22 +0000
commita10bd8d7a1b62487b51292f3799bd29268bb1657 (patch)
tree59a86d9733d28e836487ed10acc80f5c5d3e59d5 /src/common.h
parent863b6711d39593938d54f7b615b2b70e75a55871 (diff)
downloadslapt-get-a10bd8d7a1b62487b51292f3799bd29268bb1657.tar.gz
redifined typedefs, and changed transaction to transaction_t
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common.h b/src/common.h
index f863b80..765b9f4 100644
--- a/src/common.h
+++ b/src/common.h
@@ -21,13 +21,12 @@
#define SLACK_BASE_SET_REGEX "^./slackware/a$"
-struct _sg_regex {
+typedef struct {
regex_t regex;
size_t nmatch;
regmatch_t pmatch[MAX_REGEX_PARTS];
int reg_return;
-};
-typedef struct _sg_regex sg_regex;
+} sg_regex;
FILE *open_file(const char *file_name,const char *mode);