patch-src_getopt_c 574 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-src_getopt_c,v 1.1 2010/05/23 16:42:07 espie Exp $
  2. --- src/getopt.c.orig Thu Mar 21 17:55:54 2002
  3. +++ src/getopt.c Sun May 23 18:41:03 2010
  4. @@ -32,6 +32,7 @@
  5. #undef optind
  6. #undef alloca
  7. +#if 0
  8. /* The following modification was submited by Claudio Fanin. This change *
  9. * enables hexcurse to be compiled with SGI's proprietary compiler */
  10. #ifdef _SGIAPI
  11. @@ -39,8 +40,9 @@
  12. #else
  13. char *alloca ();
  14. #endif
  15. -#define __alloca alloca
  16. /* end of modification */
  17. +#endif
  18. +#define __alloca alloca
  19. #ifdef HAVE_OPTIND
  20. extern char* optarg;