| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: extern.h,v 1.14 2008/01/31 05:19:44 dholland Exp $ */ | | 1 | /* $NetBSD: extern.h,v 1.15 2009/05/25 23:48:32 dholland Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 1990, 1993 | | 4 | * Copyright (c) 1990, 1993 |
5 | * The Regents of the University of California. All rights reserved. | | 5 | * The Regents of the University of California. All rights reserved. |
6 | * | | 6 | * |
7 | * This code is derived from software contributed to Berkeley by | | 7 | * This code is derived from software contributed to Berkeley by |
8 | * Ed James. | | 8 | * Ed James. |
9 | * | | 9 | * |
10 | * Redistribution and use in source and binary forms, with or without | | 10 | * Redistribution and use in source and binary forms, with or without |
11 | * modification, are permitted provided that the following conditions | | 11 | * modification, are permitted provided that the following conditions |
12 | * are met: | | 12 | * are met: |
13 | * 1. Redistributions of source code must retain the above copyright | | 13 | * 1. Redistributions of source code must retain the above copyright |
14 | * notice, this list of conditions and the following disclaimer. | | 14 | * notice, this list of conditions and the following disclaimer. |
| @@ -79,28 +79,28 @@ void draw_all(void); | | | @@ -79,28 +79,28 @@ void draw_all(void); |
79 | void draw_line(WINDOW *, int, int, int, int, const char *); | | 79 | void draw_line(WINDOW *, int, int, int, int, const char *); |
80 | void erase_all(void); | | 80 | void erase_all(void); |
81 | int getAChar(void); | | 81 | int getAChar(void); |
82 | int getcommand(void); | | 82 | int getcommand(void); |
83 | int gettoken(void); | | 83 | int gettoken(void); |
84 | void init_gr(void); | | 84 | void init_gr(void); |
85 | void ioaddstr(int, const char *); | | 85 | void ioaddstr(int, const char *); |
86 | void ioclrtobot(void); | | 86 | void ioclrtobot(void); |
87 | void ioclrtoeol(int); | | 87 | void ioclrtoeol(int); |
88 | void ioerror(int, int, const char *); | | 88 | void ioerror(int, int, const char *); |
89 | void iomove(int); | | 89 | void iomove(int); |
90 | int list_games(void); | | 90 | int list_games(void); |
91 | int log_score(int); | | 91 | int log_score(int); |
92 | void log_score_quit(int) __attribute__((__noreturn__)); | | 92 | void log_score_quit(int) __dead; |
93 | void loser(const PLANE *, const char *) __attribute__((__noreturn__)); | | 93 | void loser(const PLANE *, const char *) __dead; |
94 | int main(int, char *[]); | | 94 | int main(int, char *[]); |
95 | char name(const PLANE *); | | 95 | char name(const PLANE *); |
96 | int next_plane(void); | | 96 | int next_plane(void); |
97 | void noise(void); | | 97 | void noise(void); |
98 | int number(int); | | 98 | int number(int); |
99 | void open_score_file(void); | | 99 | void open_score_file(void); |
100 | void planewin(void); | | 100 | void planewin(void); |
101 | int pop(void); | | 101 | int pop(void); |
102 | void push(int, int); | | 102 | void push(int, int); |
103 | void quit(int); | | 103 | void quit(int); |
104 | int read_file(const char *); | | 104 | int read_file(const char *); |
105 | void redraw(void); | | 105 | void redraw(void); |
106 | void rezero(void); | | 106 | void rezero(void); |