aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/update-game-score.c
diff options
context:
space:
mode:
authorPaul Eggert2012-04-15 17:41:01 -0700
committerPaul Eggert2012-04-15 17:41:01 -0700
commit15142f279769f4eea233a0d73a3afc74db0e6082 (patch)
treeb6bec8be6ba3af5ef16ab3da4010705ffb29b1fe /lib-src/update-game-score.c
parent9426aba403a8212c9273958bebf35f2e927f99ed (diff)
downloademacs-15142f279769f4eea233a0d73a3afc74db0e6082.tar.gz
emacs-15142f279769f4eea233a0d73a3afc74db0e6082.zip
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>.
Diffstat (limited to 'lib-src/update-game-score.c')
-rw-r--r--lib-src/update-game-score.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c
index a32bd6d8d78..e0c940510be 100644
--- a/lib-src/update-game-score.c
+++ b/lib-src/update-game-score.c
@@ -46,10 +46,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
46#include <fcntl.h> 46#include <fcntl.h>
47#endif 47#endif
48#include <sys/stat.h> 48#include <sys/stat.h>
49 49#include <getopt.h>
50/* Needed for SunOS4, for instance. */
51extern char *optarg;
52extern int optind, opterr;
53 50
54static int usage (int err) NO_RETURN; 51static int usage (int err) NO_RETURN;
55 52