+/* assorted.c */
+void table __P((int, int, int, struct ship *, struct ship *, int));
+void Cleansnag __P((struct ship *, struct ship *, int, int));
+
+/* dr_1.c */
+void unfoul __P((void));
+void boardcomp __P((void));
+int fightitout __P((struct ship *, struct ship *, int));
+void resolve __P((void));
+void compcombat __P((void));
+int next __P((void));
+
+/* dr_2.c */
+void thinkofgrapples __P((void));
+void checkup __P((void));
+void prizecheck __P((void));
+int strend __P((const char *));
+void closeon __P((struct ship *, struct ship *, char[], int, int, int));
+int score __P((char[], struct ship *, struct ship *, int));
+void move_ship __P((const char *, struct ship *, unsigned char *, short *, short *, char *));
+void try __P((char[], char [], int, int, int, int, int, struct ship *,
+ struct ship *, int *, int));
+void rmend __P((char *));
+
+/* dr_3.c */
+void moveall __P((void));
+int stillmoving __P((int));
+int isolated __P((struct ship *));
+int push __P((struct ship *, struct ship *));
+void step __P((int, struct ship *, char *));
+void sendbp __P((struct ship *, struct ship *, int, int));
+int toughmelee __P((struct ship *, struct ship *, int, int));
+void reload __P((void));
+void checksails __P((void));
+
+/* dr_4.c */
+void ungrap __P((struct ship *, struct ship *));
+void grap __P((struct ship *, struct ship *));
+
+/* dr_5.c */
+void subtract __P((struct ship *, int, int [3], struct ship *, int));
+int mensent __P((struct ship *, struct ship *, int[3], struct ship **, int *,
+ int));
+
+/* dr_main.c */
+int dr_main __P((void));
+
+/* game.c */
+int maxturns __P((struct ship *, char *));
+int maxmove __P((struct ship *, int, int));
+
+/* lo_main.c */
+int lo_main __P((void));
+
+/* misc.c */
+int range __P((struct ship *, struct ship *));
+struct ship *closestenemy __P((struct ship *, int, int));
+int angle __P((int, int));
+int gunsbear __P((struct ship *, struct ship *));
+int portside __P((struct ship *, struct ship *, int));
+int colours __P((struct ship *));
+void logger __P((struct ship *));
+
+/* parties.c */
+int meleeing __P((struct ship *, struct ship *));
+int boarding __P((struct ship *, int));
+void unboard __P((struct ship *, struct ship *, int));
+
+/* pl_1.c */
+void leave __P((int)) __attribute__((__noreturn__));
+void choke __P((int)) __attribute__((__noreturn__));
+void child __P((int));
+
+/* pl_2.c */
+void play __P((void)) __attribute__((__noreturn__));
+
+/* pl_3.c */
+void acceptcombat __P((void));
+void grapungrap __P((void));
+void unfoulplayer __P((void));
+
+/* pl_4.c */
+void changesail __P((void));
+void acceptsignal __P((void));
+void lookout __P((void));
+const char *saywhat __P((struct ship *, int));
+void eyeball __P((struct ship *));
+
+/* pl_5.c */
+void acceptmove __P((void));
+void acceptboard __P((void));
+void parties __P((int[3], struct ship *, int, int));
+
+/* pl_6.c */
+void repair __P((void));
+int turned __P((void));
+void loadplayer __P((void));
+
+/* pl_7.c */
+void initscreen __P((void));
+void cleanupscreen __P((void));
+void newturn __P((int));
+void Signal __P((const char *, struct ship *, ...))
+ __attribute__((__format__(__printf__,1,3)));
+void Msg __P((const char *, ...))
+ __attribute__((__format__(__printf__,1,2)));
+void Scroll __P((void));
+void prompt __P((const char *, struct ship *));
+void endprompt __P((int));
+int sgetch __P((const char *, struct ship *, int));
+void sgetstr __P((const char *, char *, int));
+void draw_screen __P((void));
+void draw_view __P((void));
+void draw_turn __P((void));
+void draw_stat __P((void));
+void draw_slot __P((void));
+void draw_board __P((void));
+void centerview __P((void));
+void upview __P((void));
+void downview __P((void));
+void leftview __P((void));
+void rightview __P((void));
+void adjustview __P((void));
+
+/* pl_main.c */
+int pl_main __P((void));
+void initialize __P((void));
+
+/* sync.c */
+void fmtship __P((char *, size_t, const char *, struct ship *));
+void makesignal __P((struct ship *, const char *, struct ship *, ...))
+ __attribute__((__format__(__printf__,2,4)));
+void makemsg __P((struct ship *, const char *, ...))
+ __attribute__((__format__(__printf__,2,3)));
+int sync_exists __P((int));
+int sync_open __P((void));
+void sync_close __P((int));
+void Write __P((int, struct ship *, long, long, long, long));
+void Writestr __P((int, struct ship *, const char *));
+int Sync __P((void));
+int sync_update __P((int, struct ship *, const char *, long, long, long, long));