Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/sail ANSIfy in preparation for changes.



details:   https://anonhg.NetBSD.org/src/rev/05fa4538a44b
branches:  trunk
changeset: 499855:05fa4538a44b
user:      jwise <jwise%NetBSD.org@localhost>
date:      Thu Nov 30 21:50:58 2000 +0000

description:
ANSIfy in preparation for changes.

diffstat:

 games/sail/extern.h |  198 ++++++++++++++++++++++++++--------------------------
 1 files changed, 99 insertions(+), 99 deletions(-)

diffs (251 lines):

diff -r cc4b948a8248 -r 05fa4538a44b games/sail/extern.h
--- a/games/sail/extern.h       Thu Nov 30 21:38:57 2000 +0000
+++ b/games/sail/extern.h       Thu Nov 30 21:50:58 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.14 2000/02/09 22:27:55 jsm Exp $ */
+/*     $NetBSD: extern.h,v 1.15 2000/11/30 21:50:58 jwise Exp $ */
 
 /*
  * Copyright (c) 1983, 1993
@@ -301,143 +301,143 @@
 extern char hasdriver;
 
 /* assorted.c */
-void table __P((int, int, int, struct ship *, struct ship *, int));
-void Cleansnag __P((struct ship *, struct ship *, int, int));
+void table (int, int, int, struct ship *, struct ship *, int);
+void Cleansnag (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));
+void unfoul (void);
+void boardcomp (void);
+int fightitout (struct ship *, struct ship *, int);
+void resolve (void);
+void compcombat (void);
+int next (void);
 
 /* dr_2.c */
-void thinkofgrapples __P((void));
-void checkup __P((void));
-void prizecheck __P((void));
-int str_end __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 *));
+void thinkofgrapples (void);
+void checkup (void);
+void prizecheck (void);
+int str_end (const char *);
+void closeon (struct ship *, struct ship *, char[], int, int, int);
+int score (char[], struct ship *, struct ship *, int);
+void move_ship (const char *, struct ship *, unsigned char *, short *, short *, char *);
+void try (char[], char [], int, int, int, int, int, struct ship *,
+    struct ship *, int *, int);
+void rmend (char *);
 
 /* dr_3.c */
-void moveall __P((void));
-int stillmoving __P((int));
-int is_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 is_toughmelee __P((struct ship *, struct ship *, int, int));
-void reload __P((void));
-void checksails __P((void));
+void moveall (void);
+int stillmoving (int);
+int is_isolated (struct ship *);
+int push (struct ship *, struct ship *);
+void step (int, struct ship *, char *);
+void sendbp (struct ship *, struct ship *, int, int);
+int is_toughmelee (struct ship *, struct ship *, int, int);
+void reload (void);
+void checksails (void);
 
 /* dr_4.c */
-void ungrap __P((struct ship *, struct ship *));
-void grap __P((struct ship *, struct ship *));
+void ungrap (struct ship *, struct ship *);
+void grap (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));
+void subtract (struct ship *, int, int [3], struct ship *, int);
+int mensent (struct ship *, struct ship *, int[3], struct ship **, int *,
+    int);
 
 /* dr_main.c */
-int dr_main __P((void));
+int dr_main (void);
 
 /* game.c */
-int maxturns __P((struct ship *, char *));
-int maxmove __P((struct ship *, int, int));
+int maxturns (struct ship *, char *);
+int maxmove (struct ship *, int, int);
 
 /* lo_main.c */
-int lo_main __P((void));
+int lo_main (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 *));
+int range (struct ship *, struct ship *);
+struct ship *closestenemy (struct ship *, int, int);
+int angle (int, int);
+int gunsbear (struct ship *, struct ship *);
+int portside (struct ship *, struct ship *, int);
+int colours (struct ship *);
+void logger (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));
+int meleeing (struct ship *, struct ship *);
+int boarding (struct ship *, int);
+void unboard (struct ship *, struct ship *, int);
 
 /* pl_1.c */
-void leave __P((int)) __attribute__((__noreturn__));
-void choke __P((int)) __attribute__((__noreturn__));
-void child __P((int));
+void leave (int) __attribute__((__noreturn__));
+void choke (int) __attribute__((__noreturn__));
+void child (int);
 
 /* pl_2.c */
-void play __P((void)) __attribute__((__noreturn__));
+void play (void) __attribute__((__noreturn__));
 
 /* pl_3.c */
-void acceptcombat __P((void));
-void grapungrap __P((void));
-void unfoulplayer __P((void));
+void acceptcombat (void);
+void grapungrap (void);
+void unfoulplayer (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 *));
+void changesail (void);
+void acceptsignal (void);
+void lookout (void);
+const char *saywhat (struct ship *, int);
+void eyeball (struct ship *);
 
 /* pl_5.c */
-void acceptmove __P((void));
-void acceptboard __P((void));
-void parties __P((int[3], struct ship *, int, int));
+void acceptmove (void);
+void acceptboard (void);
+void parties (int[3], struct ship *, int, int);
 
 /* pl_6.c */
-void repair __P((void));
-int turned __P((void));
-void loadplayer __P((void));
+void repair (void);
+int turned (void);
+void loadplayer (void);
 
 /* pl_7.c */
-void initscreen __P((void));
-void cleanupscreen __P((void));
-void newturn __P((int));
-void Signal __P((const char *, struct ship *, ...))
+void initscreen (void);
+void cleanupscreen (void);
+void newturn (int);
+void Signal (const char *, struct ship *, ...)
         __attribute__((__format__(__printf__,1,3)));
-void Msg __P((const char *, ...))
+void Msg (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));
+void Scroll (void);
+void prompt (const char *, struct ship *);
+void endprompt (int);
+int sgetch (const char *, struct ship *, int);
+void sgetstr (const char *, char *, int);
+void draw_screen (void);
+void draw_view (void);
+void draw_turn (void);
+void draw_stat (void);
+void draw_slot (void);
+void draw_board (void);
+void centerview (void);
+void upview (void);
+void downview (void);
+void leftview (void);
+void rightview (void);
+void adjustview (void);
 
 /* pl_main.c */
-int pl_main __P((void));
-void initialize __P((void));
+int pl_main (void);
+void initialize (void);
 
 /* sync.c */
-void fmtship __P((char *, size_t, const char *, struct ship *));
-void makesignal __P((struct ship *, const char *, struct ship *, ...))
+void fmtship (char *, size_t, const char *, struct ship *);
+void makesignal (struct ship *, const char *, struct ship *, ...)
         __attribute__((__format__(__printf__,2,4)));
-void makemsg __P((struct ship *, const char *, ...))
+void makemsg (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));
+int sync_exists (int);
+int sync_open (void);
+void sync_close (int);
+void Write (int, struct ship *, long, long, long, long);
+void Writestr (int, struct ship *, const char *);
+int Sync (void);
+int sync_update (int, struct ship *, const char *, long, long, long, long);



Home | Main Index | Thread Index | Old Index