X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d2fc7e3d0f6f57f962cbd94df3bf4fd15a37bb68..e4ed06f12b052a3c80d5c572889cb670a41f3c7d:/lib-src/update-game-score.c
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c
index e95e2ce259..2a89379aef 100644
--- a/lib-src/update-game-score.c
+++ b/lib-src/update-game-score.c
@@ -35,12 +35,8 @@ along with GNU Emacs. If not, see . */
#include
#include
-#ifdef HAVE_STRING_H
#include
-#endif
-#ifdef HAVE_STDLIB_H
#include
-#endif
#include
#include
#include
@@ -48,9 +44,6 @@ along with GNU Emacs. If not, see . */
#ifdef HAVE_FCNTL_H
#include
#endif
-#ifdef STDC_HEADERS
-#include
-#endif
#include
/* Needed for SunOS4, for instance. */
@@ -71,7 +64,7 @@ static int usage (int err) NO_RETURN;
static int
usage (int err)
{
- fprintf (stdout, "Usage: update-game-score [-m MAX ] [ -r ] game/scorefile SCORE DATA\n");
+ fprintf (stdout, "Usage: update-game-score [-m MAX] [-r] [-d DIR] game/scorefile SCORE DATA\n");
fprintf (stdout, " update-game-score -h\n");
fprintf (stdout, " -h\t\tDisplay this help.\n");
fprintf (stdout, " -m MAX\t\tLimit the maximum number of scores to MAX.\n");
@@ -113,8 +106,7 @@ static void lose_syserr (const char *msg) NO_RETURN;
#ifndef HAVE_STRERROR
#ifndef WINDOWSNT
char *
-strerror (errnum)
- int errnum;
+strerror (int errnum)
{
extern char *sys_errlist[];
extern int sys_nerr;