aboutsummaryrefslogtreecommitdiffhomepage
path: root/mimedb.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-28 21:43:05 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-28 21:43:05 +1000
commit548e379d6a0ef2e8523f261d84c2ea5852f5577d (patch)
treeb218f930017cb56fa0c956e92f168d368da68f62 /mimedb.c
parent202d29de8886e9574639f5f6877a05c9fc3e79b0 (diff)
Provide fallback version of getopt_long instead of checking for it's presense every time it is used
darcs-hash:20060828114305-ac50b-f4aad19e936fa42bbe84e51e72aa32445a469527.gz
Diffstat (limited to 'mimedb.c')
-rw-r--r--mimedb.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mimedb.c b/mimedb.c
index 09ee17c7..ac1b8ec6 100644
--- a/mimedb.c
+++ b/mimedb.c
@@ -1168,7 +1168,6 @@ int main (int argc, char *argv[])
*/
while( 1 )
{
-#ifdef HAVE_WORKING_GETOPT_LONG
static struct option
long_options[] =
{
@@ -1222,11 +1221,6 @@ int main (int argc, char *argv[])
long_options,
&opt_index );
-#else
- int opt = getopt( argc,
- argv,
- GETOPT_STRING );
-#endif
if( opt == -1 )
break;