diff options
| author | Paul Eggert | 2012-04-15 17:41:01 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-04-15 17:41:01 -0700 |
| commit | 15142f279769f4eea233a0d73a3afc74db0e6082 (patch) | |
| tree | b6bec8be6ba3af5ef16ab3da4010705ffb29b1fe /lib-src/update-game-score.c | |
| parent | 9426aba403a8212c9273958bebf35f2e927f99ed (diff) | |
| download | emacs-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.c | 5 |
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. */ | ||
| 51 | extern char *optarg; | ||
| 52 | extern int optind, opterr; | ||
| 53 | 50 | ||
| 54 | static int usage (int err) NO_RETURN; | 51 | static int usage (int err) NO_RETURN; |
| 55 | 52 | ||