1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-30 11:09:23 +00:00

Assume less-ancient POSIX support.

* update-game-score.c: Include <getopt.h> rather than rolling our
own decls for optarg, optind, opterr.  See
<http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
This commit is contained in:
Paul Eggert 2012-04-15 17:41:01 -07:00
parent 9426aba403
commit 15142f2797
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2012-04-16 Paul Eggert <eggert@cs.ucla.edu>
Assume less-ancient POSIX support.
* update-game-score.c: Include <getopt.h> rather than rolling our
own decls for optarg, optind, opterr. See
<http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html>.
2012-04-14 Juanma Barranquero <lekktu@gmail.com>
* emacsclient.c (decode_options) [WINDOWSNT]:

View File

@ -46,10 +46,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <fcntl.h>
#endif
#include <sys/stat.h>
/* Needed for SunOS4, for instance. */
extern char *optarg;
extern int optind, opterr;
#include <getopt.h>
static int usage (int err) NO_RETURN;