summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-27 06:19:26 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-27 06:19:26 +0200
commit519977112e83b1265bd277a5f3835671ab26921a (patch)
treeca1b4fe65cddb1b5ab7a2752cf9ac8a6ac64ab3e /rpmqv.c
parent6765e53464a432a2931cbdd4bf72cff0e610223d (diff)
downloadlibrpm-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.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/rpmqv.c b/rpmqv.c
index f10f706f1..d401fedd2 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -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++;