mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-17 17:58:46 +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:
parent
9426aba403
commit
15142f2797
@ -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>
|
2012-04-14 Juanma Barranquero <lekktu@gmail.com>
|
||||||
|
|
||||||
* emacsclient.c (decode_options) [WINDOWSNT]:
|
* emacsclient.c (decode_options) [WINDOWSNT]:
|
||||||
|
@ -46,10 +46,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <getopt.h>
|
||||||
/* Needed for SunOS4, for instance. */
|
|
||||||
extern char *optarg;
|
|
||||||
extern int optind, opterr;
|
|
||||||
|
|
||||||
static int usage (int err) NO_RETURN;
|
static int usage (int err) NO_RETURN;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user