diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-09-03 21:55:26 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-09-03 21:55:26 +0300 |
commit | 1535dc8bb7b6228539942d7ea3f4b5179f4f6ed0 (patch) | |
tree | ab7cd4594864a43122ae70d4bd81e525ab61d323 /rpmqv.c | |
parent | cea607a62c578de65f8a0c232228748c592c0c00 (diff) | |
download | librpm-tizen-1535dc8bb7b6228539942d7ea3f4b5179f4f6ed0.tar.gz librpm-tizen-1535dc8bb7b6228539942d7ea3f4b5179f4f6ed0.tar.bz2 librpm-tizen-1535dc8bb7b6228539942d7ea3f4b5179f4f6ed0.zip |
Remove a couple remaing LCLINT ifdefs
Diffstat (limited to 'rpmqv.c')
-rw-r--r-- | rpmqv.c | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -3,7 +3,7 @@ const char *__progname; #define _AUTOHELP -#if defined(IAM_RPM) || defined(__LCLINT__) +#if defined(IAM_RPM) #define IAM_RPMBT #define IAM_RPMDB #define IAM_RPMEIU @@ -162,7 +162,7 @@ static void printUsage(poptContext con, FILE * fp, int flags) /*@-bounds@*/ /* LCL: segfault */ /*@-mods@*/ /* FIX: shrug */ -#if !defined(__GLIBC__) && !defined(__LCLINT__) +#if !defined(__GLIBC__) int main(int argc, const char ** argv, /*@unused@*/ char ** envp) #else int main(int argc, const char ** argv) @@ -219,7 +219,7 @@ int main(int argc, const char ** argv) #endif setprogname(argv[0]); /* Retrofit glibc __progname */ -#if !defined(__GLIBC__) && !defined(__LCLINT__) +#if !defined(__GLIBC__) environ = envp; #endif @@ -278,9 +278,6 @@ int main(int argc, const char ** argv) /* set up the correct locale */ (void) setlocale(LC_ALL, "" ); -#ifdef __LCLINT__ -#define LOCALEDIR "/usr/share/locale" -#endif bindtextdomain(PACKAGE, LOCALEDIR); textdomain(PACKAGE); #endif |