aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/update-game-score.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 098ee06c762..2a4c1024293 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12011-07-09 Andreas Schwab <schwab@linux-m68k.org>
2
3 * update-game-score.c (usage): Update usage line.
4
12011-07-02 Jason Rumney <jasonr@gnu.org> 52011-07-02 Jason Rumney <jasonr@gnu.org>
2 6
3 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on 7 * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
diff --git a/lib-src/update-game-score.c b/lib-src/update-game-score.c
index e95e2ce259d..76483c371ff 100644
--- a/lib-src/update-game-score.c
+++ b/lib-src/update-game-score.c
@@ -71,7 +71,7 @@ static int usage (int err) NO_RETURN;
71static int 71static int
72usage (int err) 72usage (int err)
73{ 73{
74 fprintf (stdout, "Usage: update-game-score [-m MAX ] [ -r ] game/scorefile SCORE DATA\n"); 74 fprintf (stdout, "Usage: update-game-score [-m MAX] [-r] [-d DIR] game/scorefile SCORE DATA\n");
75 fprintf (stdout, " update-game-score -h\n"); 75 fprintf (stdout, " update-game-score -h\n");
76 fprintf (stdout, " -h\t\tDisplay this help.\n"); 76 fprintf (stdout, " -h\t\tDisplay this help.\n");
77 fprintf (stdout, " -m MAX\t\tLimit the maximum number of scores to MAX.\n"); 77 fprintf (stdout, " -m MAX\t\tLimit the maximum number of scores to MAX.\n");
@@ -113,8 +113,7 @@ static void lose_syserr (const char *msg) NO_RETURN;
113#ifndef HAVE_STRERROR 113#ifndef HAVE_STRERROR
114#ifndef WINDOWSNT 114#ifndef WINDOWSNT
115char * 115char *
116strerror (errnum) 116strerror (int errnum)
117 int errnum;
118{ 117{
119 extern char *sys_errlist[]; 118 extern char *sys_errlist[];
120 extern int sys_nerr; 119 extern int sys_nerr;