From 3c786d433a6b285c1afa50b8c0ca339c4e861c69 Mon Sep 17 00:00:00 2001 From: christos <christos@NetBSD.org> Date: Mon, 5 Feb 2001 01:10:08 +0000 Subject: [PATCH] remove redundant decls. --- sail/assorted.c | 6 ++---- sail/dr_1.c | 9 ++------- sail/dr_2.c | 8 ++------ sail/dr_3.c | 9 ++------- sail/dr_4.c | 7 ++----- sail/dr_5.c | 7 ++----- sail/dr_main.c | 6 ++---- sail/game.c | 7 ++----- sail/lo_main.c | 6 ++---- sail/misc.c | 10 ++-------- sail/parties.c | 8 ++------ sail/pl_1.c | 8 ++------ sail/pl_2.c | 6 ++---- sail/pl_3.c | 8 ++------ sail/pl_4.c | 10 ++-------- sail/pl_5.c | 6 ++---- sail/pl_6.c | 6 ++---- sail/pl_7.c | 25 ++----------------------- sail/pl_main.c | 5 ++--- sail/sync.c | 15 ++------------- 20 files changed, 40 insertions(+), 132 deletions(-) diff --git a/sail/assorted.c b/sail/assorted.c index 38ec6982..a03b12e5 100644 --- a/sail/assorted.c +++ b/sail/assorted.c @@ -1,4 +1,4 @@ -/* $NetBSD: assorted.c,v 1.13 2001/01/04 06:16:51 jwise Exp $ */ +/* $NetBSD: assorted.c,v 1.14 2001/02/05 01:10:08 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)assorted.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: assorted.c,v 1.13 2001/01/04 06:16:51 jwise Exp $"); +__RCSID("$NetBSD: assorted.c,v 1.14 2001/02/05 01:10:08 christos Exp $"); #endif #endif /* not lint */ @@ -46,8 +46,6 @@ __RCSID("$NetBSD: assorted.c,v 1.13 2001/01/04 06:16:51 jwise Exp $"); #include <err.h> #include "extern.h" -void table(struct ship *, struct ship *, int, int, int, int); -void Cleansnag(struct ship *, struct ship *, int, int); static void strike (struct ship *, struct ship *); void diff --git a/sail/dr_1.c b/sail/dr_1.c index 2b320382..782d8d55 100644 --- a/sail/dr_1.c +++ b/sail/dr_1.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_1.c,v 1.17 2001/01/04 06:16:51 jwise Exp $ */ +/* $NetBSD: dr_1.c,v 1.18 2001/02/05 01:10:08 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_1.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dr_1.c,v 1.17 2001/01/04 06:16:51 jwise Exp $"); +__RCSID("$NetBSD: dr_1.c,v 1.18 2001/02/05 01:10:08 christos Exp $"); #endif #endif /* not lint */ @@ -49,12 +49,7 @@ __RCSID("$NetBSD: dr_1.c,v 1.17 2001/01/04 06:16:51 jwise Exp $"); #include "extern.h" #include "driver.h" -void unfoul(void); -void boardcomp(void); static int fightitout(struct ship *, struct ship *, int); -void resolve(void); -void compcombat(void); -int next(void); void unfoul(void) diff --git a/sail/dr_2.c b/sail/dr_2.c index e464a0f0..3eb96ab2 100644 --- a/sail/dr_2.c +++ b/sail/dr_2.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_2.c,v 1.17 2001/01/04 06:16:51 jwise Exp $ */ +/* $NetBSD: dr_2.c,v 1.18 2001/02/05 01:10:08 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_2.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dr_2.c,v 1.17 2001/01/04 06:16:51 jwise Exp $"); +__RCSID("$NetBSD: dr_2.c,v 1.18 2001/02/05 01:10:08 christos Exp $"); #endif #endif /* not lint */ @@ -50,11 +50,7 @@ __RCSID("$NetBSD: dr_2.c,v 1.17 2001/01/04 06:16:51 jwise Exp $"); #define couldwin(f,t) (f->specs->crew2 > t->specs->crew2 * 1.5) -void thinkofgrapples(void); -void checkup(void); -void prizecheck(void); static int str_end(const char *); -void closeon(struct ship *, struct ship *, char *, int, int, int); static int score(struct ship *, struct ship *, char *, int); static void move_ship(struct ship *, const char *, unsigned char *, short *, short *, char *); static void try(struct ship *, struct ship *, char *, char *, int, int, int, int, int, int *, int); diff --git a/sail/dr_3.c b/sail/dr_3.c index 36deff08..22404c7a 100644 --- a/sail/dr_3.c +++ b/sail/dr_3.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_3.c,v 1.13 2001/01/04 06:16:51 jwise Exp $ */ +/* $NetBSD: dr_3.c,v 1.14 2001/02/05 01:10:09 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_3.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: dr_3.c,v 1.13 2001/01/04 06:16:51 jwise Exp $"); +__RCSID("$NetBSD: dr_3.c,v 1.14 2001/02/05 01:10:09 christos Exp $"); #endif #endif /* not lint */ @@ -47,15 +47,10 @@ __RCSID("$NetBSD: dr_3.c,v 1.13 2001/01/04 06:16:51 jwise Exp $"); #include "extern.h" #include "driver.h" -void moveall(void); static int stillmoving(int); static int is_isolated(struct ship *); static int push(struct ship *, struct ship *); static void step(struct ship *, int, char *); -void sendbp(struct ship *, struct ship *, int, int); -int is_toughmelee(struct ship *, struct ship *, int, int); -void reload(void); -void checksails(void); /* move all comp ships */ void diff --git a/sail/dr_4.c b/sail/dr_4.c index c29cc80e..664a409e 100644 --- a/sail/dr_4.c +++ b/sail/dr_4.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_4.c,v 1.11 2001/01/04 03:21:17 jwise Exp $ */ +/* $NetBSD: dr_4.c,v 1.12 2001/02/05 01:10:09 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,16 +38,13 @@ #if 0 static char sccsid[] = "@(#)dr_4.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: dr_4.c,v 1.11 2001/01/04 03:21:17 jwise Exp $"); +__RCSID("$NetBSD: dr_4.c,v 1.12 2001/02/05 01:10:09 christos Exp $"); #endif #endif /* not lint */ #include <stdlib.h> #include "extern.h" -void ungrap(struct ship *, struct ship *); -void grap(struct ship *, struct ship *); - void ungrap(struct ship *from, struct ship *to) { diff --git a/sail/dr_5.c b/sail/dr_5.c index 8f6a1f5d..93d630a1 100644 --- a/sail/dr_5.c +++ b/sail/dr_5.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_5.c,v 1.10 2001/01/04 06:16:51 jwise Exp $ */ +/* $NetBSD: dr_5.c,v 1.11 2001/02/05 01:10:09 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,16 +38,13 @@ #if 0 static char sccsid[] = "@(#)dr_5.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: dr_5.c,v 1.10 2001/01/04 06:16:51 jwise Exp $"); +__RCSID("$NetBSD: dr_5.c,v 1.11 2001/02/05 01:10:09 christos Exp $"); #endif #endif /* not lint */ #include <sys/types.h> #include "extern.h" -void subtract(struct ship *, struct ship *, int, int *, int); -int mensent(struct ship *, struct ship *, int *, struct ship **, int *, int); - void subtract(struct ship *from, struct ship *fromcap, int totalfrom, int *crewfrom, int pcfrom) { diff --git a/sail/dr_main.c b/sail/dr_main.c index 2366a8b3..c3f145d7 100644 --- a/sail/dr_main.c +++ b/sail/dr_main.c @@ -1,4 +1,4 @@ -/* $NetBSD: dr_main.c,v 1.10 2001/01/04 03:51:24 jwise Exp $ */ +/* $NetBSD: dr_main.c,v 1.11 2001/02/05 01:10:09 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)dr_main.c 8.2 (Berkeley) 4/16/94"; #else -__RCSID("$NetBSD: dr_main.c,v 1.10 2001/01/04 03:51:24 jwise Exp $"); +__RCSID("$NetBSD: dr_main.c,v 1.11 2001/02/05 01:10:09 christos Exp $"); #endif #endif /* not lint */ @@ -49,8 +49,6 @@ __RCSID("$NetBSD: dr_main.c,v 1.10 2001/01/04 03:51:24 jwise Exp $"); #include "extern.h" #include "driver.h" -int dr_main(void); - int dr_main(void) { diff --git a/sail/game.c b/sail/game.c index 0f74cd19..087ab9c0 100644 --- a/sail/game.c +++ b/sail/game.c @@ -1,4 +1,4 @@ -/* $NetBSD: game.c,v 1.9 2001/01/04 03:51:24 jwise Exp $ */ +/* $NetBSD: game.c,v 1.10 2001/02/05 01:10:09 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,16 +38,13 @@ #if 0 static char sccsid[] = "@(#)game.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: game.c,v 1.9 2001/01/04 03:51:24 jwise Exp $"); +__RCSID("$NetBSD: game.c,v 1.10 2001/02/05 01:10:09 christos Exp $"); #endif #endif /* not lint */ #include <sys/types.h> #include "extern.h" -int maxturns(struct ship *, char *); -int maxmove(struct ship *, int, int); - int maxturns(struct ship *ship, char *af) { diff --git a/sail/lo_main.c b/sail/lo_main.c index 71ea1a49..38ff0579 100644 --- a/sail/lo_main.c +++ b/sail/lo_main.c @@ -1,4 +1,4 @@ -/* $NetBSD: lo_main.c,v 1.10 2001/01/16 02:44:43 cgd Exp $ */ +/* $NetBSD: lo_main.c,v 1.11 2001/02/05 01:10:10 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)lo_main.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: lo_main.c,v 1.10 2001/01/16 02:44:43 cgd Exp $"); +__RCSID("$NetBSD: lo_main.c,v 1.11 2001/02/05 01:10:10 christos Exp $"); #endif #endif /* not lint */ @@ -54,8 +54,6 @@ __RCSID("$NetBSD: lo_main.c,v 1.10 2001/01/16 02:44:43 cgd Exp $"); #include "extern.h" #include "pathnames.h" -int lo_main(void); - const char *const title[] = { "Admiral", "Commodore", "Captain", "Captain", "Captain", "Captain", "Captain", "Commander", diff --git a/sail/misc.c b/sail/misc.c index 45e0da1d..91a9e6ed 100644 --- a/sail/misc.c +++ b/sail/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.11 2001/01/04 06:33:18 itojun Exp $ */ +/* $NetBSD: misc.c,v 1.12 2001/02/05 01:10:10 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: misc.c,v 1.11 2001/01/04 06:33:18 itojun Exp $"); +__RCSID("$NetBSD: misc.c,v 1.12 2001/02/05 01:10:10 christos Exp $"); #endif #endif /* not lint */ @@ -51,13 +51,7 @@ __RCSID("$NetBSD: misc.c,v 1.11 2001/01/04 06:33:18 itojun Exp $"); #define distance(x,y) (abs(x) >= abs(y) ? abs(x) + abs(y)/2 : abs(y) + abs(x)/2) -int range(struct ship *, struct ship *); -struct ship *closestenemy(struct ship *, int, int); static 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 *); /* XXX */ int diff --git a/sail/parties.c b/sail/parties.c index c41d37af..582e7844 100644 --- a/sail/parties.c +++ b/sail/parties.c @@ -1,4 +1,4 @@ -/* $NetBSD: parties.c,v 1.9 2001/01/04 03:51:24 jwise Exp $ */ +/* $NetBSD: parties.c,v 1.10 2001/02/05 01:10:10 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,17 +38,13 @@ #if 0 static char sccsid[] = "@(#)parties.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: parties.c,v 1.9 2001/01/04 03:51:24 jwise Exp $"); +__RCSID("$NetBSD: parties.c,v 1.10 2001/02/05 01:10:10 christos Exp $"); #endif #endif /* not lint */ #include <sys/types.h> #include "extern.h" -int meleeing(struct ship *, struct ship *); -int boarding(struct ship *, int); -void unboard(struct ship *, struct ship *, int); - int meleeing(struct ship *from, struct ship *to) { diff --git a/sail/pl_1.c b/sail/pl_1.c index c99d76bc..3397ddfc 100644 --- a/sail/pl_1.c +++ b/sail/pl_1.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_1.c,v 1.15 2001/01/16 02:44:43 cgd Exp $ */ +/* $NetBSD: pl_1.c,v 1.16 2001/02/05 01:10:10 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_1.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_1.c,v 1.15 2001/01/16 02:44:43 cgd Exp $"); +__RCSID("$NetBSD: pl_1.c,v 1.16 2001/02/05 01:10:10 christos Exp $"); #endif #endif /* not lint */ @@ -51,10 +51,6 @@ __RCSID("$NetBSD: pl_1.c,v 1.15 2001/01/16 02:44:43 cgd Exp $"); #include "extern.h" #include "player.h" -void leave(int) __attribute__((__noreturn__)); -void choke(int) __attribute__((__noreturn__)); -void child(int); - /* * If we get here before a ship is chosen, then ms == 0 and * we don't want to update the score file, or do any Write's either. diff --git a/sail/pl_2.c b/sail/pl_2.c index 850dd98c..e893726e 100644 --- a/sail/pl_2.c +++ b/sail/pl_2.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_2.c,v 1.9 2001/01/04 05:34:56 jwise Exp $ */ +/* $NetBSD: pl_2.c,v 1.10 2001/02/05 01:10:10 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_2.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_2.c,v 1.9 2001/01/04 05:34:56 jwise Exp $"); +__RCSID("$NetBSD: pl_2.c,v 1.10 2001/02/05 01:10:10 christos Exp $"); #endif #endif /* not lint */ @@ -46,8 +46,6 @@ __RCSID("$NetBSD: pl_2.c,v 1.9 2001/01/04 05:34:56 jwise Exp $"); #include "extern.h" #include "player.h" -void play(void) __attribute__((__noreturn__)); - void play(void) { diff --git a/sail/pl_3.c b/sail/pl_3.c index 206c7654..52c6e880 100644 --- a/sail/pl_3.c +++ b/sail/pl_3.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_3.c,v 1.15 2001/01/04 06:16:51 jwise Exp $ */ +/* $NetBSD: pl_3.c,v 1.16 2001/02/05 01:10:10 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_3.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_3.c,v 1.15 2001/01/04 06:16:51 jwise Exp $"); +__RCSID("$NetBSD: pl_3.c,v 1.16 2001/02/05 01:10:10 christos Exp $"); #endif #endif /* not lint */ @@ -47,10 +47,6 @@ __RCSID("$NetBSD: pl_3.c,v 1.15 2001/01/04 06:16:51 jwise Exp $"); #include "extern.h" #include "player.h" -void acceptcombat(void); -void grapungrap(void); -void unfoulplayer(void); - void acceptcombat(void) { diff --git a/sail/pl_4.c b/sail/pl_4.c index 7931991b..affc39f8 100644 --- a/sail/pl_4.c +++ b/sail/pl_4.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_4.c,v 1.12 2001/01/04 04:41:41 jwise Exp $ */ +/* $NetBSD: pl_4.c,v 1.13 2001/02/05 01:10:11 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_4.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_4.c,v 1.12 2001/01/04 04:41:41 jwise Exp $"); +__RCSID("$NetBSD: pl_4.c,v 1.13 2001/02/05 01:10:11 christos Exp $"); #endif #endif /* not lint */ @@ -47,12 +47,6 @@ __RCSID("$NetBSD: pl_4.c,v 1.12 2001/01/04 04:41:41 jwise Exp $"); #include "extern.h" #include "player.h" -void changesail(void); -void acceptsignal(void); -void lookout(void); -const char *saywhat(struct ship *, int); -void eyeball(struct ship *); - void changesail(void) { diff --git a/sail/pl_5.c b/sail/pl_5.c index 18ecf0c9..44c37c22 100644 --- a/sail/pl_5.c +++ b/sail/pl_5.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_5.c,v 1.14 2001/01/04 06:33:18 itojun Exp $ */ +/* $NetBSD: pl_5.c,v 1.15 2001/02/05 01:10:11 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_5.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_5.c,v 1.14 2001/01/04 06:33:18 itojun Exp $"); +__RCSID("$NetBSD: pl_5.c,v 1.15 2001/02/05 01:10:11 christos Exp $"); #endif #endif /* not lint */ @@ -53,8 +53,6 @@ __RCSID("$NetBSD: pl_5.c,v 1.14 2001/01/04 06:33:18 itojun Exp $"); #define turnfirst(x) (*x == 'r' || *x == 'l') -void acceptmove(void); -void acceptboard(void); static void parties(struct ship *, int *, int, int); void diff --git a/sail/pl_6.c b/sail/pl_6.c index d22311f8..f45ea106 100644 --- a/sail/pl_6.c +++ b/sail/pl_6.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_6.c,v 1.9 2001/01/04 04:41:42 jwise Exp $ */ +/* $NetBSD: pl_6.c,v 1.10 2001/02/05 01:10:11 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_6.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_6.c,v 1.9 2001/01/04 04:41:42 jwise Exp $"); +__RCSID("$NetBSD: pl_6.c,v 1.10 2001/02/05 01:10:11 christos Exp $"); #endif #endif /* not lint */ @@ -46,9 +46,7 @@ __RCSID("$NetBSD: pl_6.c,v 1.9 2001/01/04 04:41:42 jwise Exp $"); #include "extern.h" #include "player.h" -void repair(void); static int turned(void); -void loadplayer(void); void repair(void) diff --git a/sail/pl_7.c b/sail/pl_7.c index 5071eeb2..1660761f 100644 --- a/sail/pl_7.c +++ b/sail/pl_7.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_7.c,v 1.23 2001/01/16 02:44:43 cgd Exp $ */ +/* $NetBSD: pl_7.c,v 1.24 2001/02/05 01:10:11 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_7.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_7.c,v 1.23 2001/01/16 02:44:43 cgd Exp $"); +__RCSID("$NetBSD: pl_7.c,v 1.24 2001/02/05 01:10:11 christos Exp $"); #endif #endif /* not lint */ @@ -53,29 +53,8 @@ __RCSID("$NetBSD: pl_7.c,v 1.23 2001/01/16 02:44:43 cgd Exp $"); #include "player.h" #include "display.h" -void initscreen(void); -void cleanupscreen(void); -void newturn(int); -void Signal(const char *, struct ship *, ...) - __attribute__((__format__(__printf__,1,3))); -void Msg(const char *, ...) - __attribute__((__format__(__printf__,1,2))); static void Scroll(void); -void prompt(const char *, struct ship *); static 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); static void adjustview(void); /* diff --git a/sail/pl_main.c b/sail/pl_main.c index 397b9046..85fd88ea 100644 --- a/sail/pl_main.c +++ b/sail/pl_main.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_main.c,v 1.14 2001/01/04 04:41:42 jwise Exp $ */ +/* $NetBSD: pl_main.c,v 1.15 2001/02/05 01:10:11 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_main.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_main.c,v 1.14 2001/01/04 04:41:42 jwise Exp $"); +__RCSID("$NetBSD: pl_main.c,v 1.15 2001/02/05 01:10:11 christos Exp $"); #endif #endif /* not lint */ @@ -52,7 +52,6 @@ __RCSID("$NetBSD: pl_main.c,v 1.14 2001/01/04 04:41:42 jwise Exp $"); #include "player.h" #include "restart.h" -int pl_main(void); static void initialize(void); /*ARGSUSED*/ diff --git a/sail/sync.c b/sail/sync.c index b60b19f0..eb774a6e 100644 --- a/sail/sync.c +++ b/sail/sync.c @@ -1,4 +1,4 @@ -/* $NetBSD: sync.c,v 1.19 2001/01/04 05:34:56 jwise Exp $ */ +/* $NetBSD: sync.c,v 1.20 2001/02/05 01:10:11 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)sync.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: sync.c,v 1.19 2001/01/04 05:34:56 jwise Exp $"); +__RCSID("$NetBSD: sync.c,v 1.20 2001/02/05 01:10:11 christos Exp $"); #endif #endif /* not lint */ @@ -56,17 +56,6 @@ __RCSID("$NetBSD: sync.c,v 1.19 2001/01/04 05:34:56 jwise Exp $"); #define BUFSIZE 4096 -void fmtship(char *, size_t, const char *, struct ship *); -void makesignal(struct ship *, const char *, struct ship *, ...) - __attribute__((__format__(__printf__,2,4))); -void makemsg(struct ship *, const char *, ...) - __attribute__((__format__(__printf__,2,3))); -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); static int sync_update(int, struct ship *, const char *, long, long, long, long); static const char SF[] = _PATH_SYNC; -- 2.47.1