From 971b0cd7c6d09896cd8fc9233f879304d00a600c Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Thu, 14 Jul 2005 13:06:06 +0000 Subject: [PATCH] Unstaticify variables. (Freedesktop #2459) Author: tfheen Date: 2005-02-21 06:46:31 GMT Unstaticify variables. (Freedesktop #2459) --- ChangeLog | 4 ++++ main.c | 38 +++++++++++++++++++------------------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index 44d2dd6..3273d37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-02-20 Tollef Fog Heen + + * main.c (main): Unstaticify variables. (Freedesktop #2459) + 2004-07-18 Scott James Remnant * pkg.m4: Fix a bad patch causing duplication in one of the error diff --git a/main.c b/main.c index 00d0a27..599f775 100644 --- a/main.c +++ b/main.c @@ -165,25 +165,25 @@ pkg_uninstalled (Package *pkg) int main (int argc, char **argv) { - static int want_my_version = 0; - static int want_version = 0; - static int want_libs = 0; - static int want_cflags = 0; - static int want_l_libs = 0; - static int want_L_libs = 0; - static int want_other_libs = 0; - static int want_I_cflags = 0; - static int want_other_cflags = 0; - static int want_list = 0; - static int result; - static int want_uninstalled = 0; - static char *variable_name = NULL; - static int want_exists = 0; - static char *required_atleast_version = NULL; - static char *required_exact_version = NULL; - static char *required_max_version = NULL; - static char *required_pkgconfig_version = NULL; - static int want_silence_errors = 0; + int want_my_version = 0; + int want_version = 0; + int want_libs = 0; + int want_cflags = 0; + int want_l_libs = 0; + int want_L_libs = 0; + int want_other_libs = 0; + int want_I_cflags = 0; + int want_other_cflags = 0; + int want_list = 0; + int result; + int want_uninstalled = 0; + char *variable_name = NULL; + int want_exists = 0; + char *required_atleast_version = NULL; + char *required_exact_version = NULL; + char *required_max_version = NULL; + char *required_pkgconfig_version = NULL; + int want_silence_errors = 0; GString *str; GSList *packages = NULL; char *search_path; -- 2.39.5