summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf.c2
-rw-r--r--expac.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index aef4cbf..09889f6 100644
--- a/conf.c
+++ b/conf.c
@@ -36,7 +36,7 @@ static size_t strtrim(char *str)
return right - left;
}
-int is_section(const char *s, int n)
+static int is_section(const char *s, int n)
{
return s[0] == '[' && s[n-1] == ']';
}
diff --git a/expac.c b/expac.c
index d89e072..1039e34 100644
--- a/expac.c
+++ b/expac.c
@@ -839,7 +839,7 @@ static alpm_list_t *process_targets(int argc, char **argv)
int main(int argc, char *argv[])
{
alpm_list_t *results = NULL, *targets = NULL;
- expac_t *expac;
+ expac_t *expac = NULL;
int r;
r = parse_options(&argc, &argv);