diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-06-26 14:28:40 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-06-26 14:28:40 +0300 |
commit | a5840ea9469993e89a23be9e1a647c3c72614f9e (patch) | |
tree | 5b4715ca0119deda62cd610f2b1d31e2443c5e1d | |
parent | 00f3dc3e1f8f48d9c3ebed51dedf652ff2401eca (diff) | |
download | smap-a5840ea9469993e89a23be9e1a647c3c72614f9e.tar.gz smap-a5840ea9469993e89a23be9e1a647c3c72614f9e.tar.bz2 |
Minor change.
-rw-r--r-- | src/getopt.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/getopt.m4 b/src/getopt.m4 index 29bab9c..df72e7b 100644 --- a/src/getopt.m4 +++ b/src/getopt.m4 | |||
@@ -479,6 +479,7 @@ cmpidx_short (const void *a, const void *b) | |||
479 | return opthelp[*ai].opt[1] - opthelp[*bi].opt[1]; | 479 | return opthelp[*ai].opt[1] - opthelp[*bi].opt[1]; |
480 | } | 480 | } |
481 | 481 | ||
482 | #ifdef HAVE_GETOPT_LONG | ||
482 | static int | 483 | static int |
483 | cmpidx_long (const void *a, const void *b) | 484 | cmpidx_long (const void *a, const void *b) |
484 | { | 485 | { |
@@ -502,6 +503,7 @@ cmpidx_long (const void *a, const void *b) | |||
502 | lenb = strcspn (optb, ","); | 503 | lenb = strcspn (optb, ","); |
503 | return strncmp (opta, optb, lena > lenb ? lenb : lena); | 504 | return strncmp (opta, optb, lena > lenb ? lenb : lena); |
504 | } | 505 | } |
506 | #endif | ||
505 | 507 | ||
506 | void | 508 | void |
507 | print_usage (void) | 509 | print_usage (void) |