diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-03-01 09:05:59 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-03-01 09:05:59 +0000 |
commit | b4b997286ed025b673f3ba4698d0075952cc7896 (patch) | |
tree | 43ef3fb43263e6c2d4c0db62d588eb59d1a6c66a /Build/source/texk/kpathsea/getopt.c | |
parent | a15743669eec9a2ab5c7c49ffead9fa786103502 (diff) |
getopt
git-svn-id: svn://tug.org/texlive/trunk@25547 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/getopt.c')
-rw-r--r-- | Build/source/texk/kpathsea/getopt.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/Build/source/texk/kpathsea/getopt.c b/Build/source/texk/kpathsea/getopt.c index 2f6984e263d..d1fc9864de5 100644 --- a/Build/source/texk/kpathsea/getopt.c +++ b/Build/source/texk/kpathsea/getopt.c @@ -1,6 +1,6 @@ /* Getopt for GNU. - Copyright 2008, 2009, 2010, 2011 Karl Berry. + Copyright 2008-2012 Karl Berry. Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 2000, 2010 Free Software Foundation, Inc. @@ -221,18 +221,6 @@ static char *my_index(const char *str, int chr) return 0; } -/* If using GCC, we can safely declare strlen this way. - If not using GCC, it is ok not to declare it. */ -#ifdef __GNUC__ -/* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h. - That was relevant to code that was here before. */ -#if !defined (__STDC__) || !__STDC__ -/* gcc with -traditional declares the built-in strlen to return int, - and has done so at least since version 2.4.5. -- rms. */ -extern int strlen (const char *); -#endif /* not __STDC__ */ -#endif /* __GNUC__ */ - #endif /* not __GNU_LIBRARY__ */ /* Handle permutation of arguments. */ |