aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-06-26 14:28:40 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-06-26 14:28:40 +0300
commita5840ea9469993e89a23be9e1a647c3c72614f9e (patch)
tree5b4715ca0119deda62cd610f2b1d31e2443c5e1d
parent00f3dc3e1f8f48d9c3ebed51dedf652ff2401eca (diff)
downloadsmap-a5840ea9469993e89a23be9e1a647c3c72614f9e.tar.gz
smap-a5840ea9469993e89a23be9e1a647c3c72614f9e.tar.bz2
Minor change.
-rw-r--r--src/getopt.m42
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
482static int 483static int
483cmpidx_long (const void *a, const void *b) 484cmpidx_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
506void 508void
507print_usage (void) 509print_usage (void)

Return to:

Send suggestions and report system problems to the System administrator.