HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Find rcs2log in the source-directory when running uninstalled
[bpt/emacs.git]
/
lib-src
/
update-game-score.c
diff --git
a/lib-src/update-game-score.c
b/lib-src/update-game-score.c
index
9fba51a
..
e0c9405
100644
(file)
--- a/
lib-src/update-game-score.c
+++ b/
lib-src/update-game-score.c
@@
-1,6
+1,6
@@
/* update-game-score.c --- Update a score file
/* update-game-score.c --- Update a score file
-Copyright (C) 2002-201
1
Free Software Foundation, Inc.
+Copyright (C) 2002-201
2
Free Software Foundation, Inc.
Author: Colin Walters <walters@debian.org>
Author: Colin Walters <walters@debian.org>
@@
-46,10
+46,7
@@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <fcntl.h>
#endif
#include <sys/stat.h>
#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;
static int usage (int err) NO_RETURN;
@@
-346,7
+343,7
@@
read_scores (const char *filename, struct score_entry **scores, int *count)
return -1;
while ((readval = read_score (f, &ret[scorecount])) == 0)
{
return -1;
while ((readval = read_score (f, &ret[scorecount])) == 0)
{
- /* We encou
tered an error
*/
+ /* We encou
ntered an error.
*/
if (readval < 0)
return -1;
scorecount++;
if (readval < 0)
return -1;
scorecount++;