mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-02-04 17:40:29 +01:00
Unstaticify variables. (Freedesktop #2459)
Author: tfheen Date: 2005-02-21 06:46:31 GMT Unstaticify variables. (Freedesktop #2459)
This commit is contained in:
parent
703193d7d9
commit
971b0cd7c6
2 changed files with 23 additions and 19 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2005-02-20 Tollef Fog Heen <tfheen@err.no>
|
||||
|
||||
* main.c (main): Unstaticify variables. (Freedesktop #2459)
|
||||
|
||||
2004-07-18 Scott James Remnant <scott@netsplit.com>
|
||||
|
||||
* pkg.m4: Fix a bad patch causing duplication in one of the error
|
||||
|
|
|
|||
38
main.c
38
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue