diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-10-27 06:19:26 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-10-27 06:19:26 +0200 |
commit | 519977112e83b1265bd277a5f3835671ab26921a (patch) | |
tree | ca1b4fe65cddb1b5ab7a2752cf9ac8a6ac64ab3e /rpmqv.c | |
parent | 6765e53464a432a2931cbdd4bf72cff0e610223d (diff) | |
download | librpm-tizen-519977112e83b1265bd277a5f3835671ab26921a.tar.gz librpm-tizen-519977112e83b1265bd277a5f3835671ab26921a.tar.bz2 librpm-tizen-519977112e83b1265bd277a5f3835671ab26921a.zip |
Stop messing around with triple-arg'ed main.
Diffstat (limited to 'rpmqv.c')
-rw-r--r-- | rpmqv.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -152,13 +152,7 @@ static void printUsage(poptContext con, FILE * fp, int flags) poptPrintUsage(con, fp, flags); } -/* LCL: segfault */ -/* FIX: shrug */ -#if !defined(__GLIBC__) -int main(int argc, char *argv[], char ** envp) -#else int main(int argc, char *argv[]) -#endif { rpmts ts = NULL; enum modes bigMode = MODE_UNKNOWN; @@ -204,10 +198,6 @@ int main(int argc, char *argv[]) #endif setprogname(argv[0]); /* Retrofit glibc __progname */ -#if !defined(__GLIBC__) - environ = envp; -#endif - /* XXX glibc churn sanity */ if (__progname == NULL) { if ((__progname = strrchr(argv[0], '/')) != NULL) __progname++; |