diff options
| author | jwise <jwise@NetBSD.org> | 2001-01-04 05:34:56 +0000 |
|---|---|---|
| committer | jwise <jwise@NetBSD.org> | 2001-01-04 05:34:56 +0000 |
| commit | 4bb910aa025d0c056f01479839fb4aac351c6f60 (patch) | |
| tree | 46a08c533ee20bc13807aae50458f8781fadf8af /sail/sync.c | |
| parent | 185dd7965f398cfe8bbab3b933dc63e22db50fd0 (diff) | |
| download | bsdgames-darwin-4bb910aa025d0c056f01479839fb4aac351c6f60.tar.gz bsdgames-darwin-4bb910aa025d0c056f01479839fb4aac351c6f60.zip | |
Various stylistic nits.
Diffstat (limited to 'sail/sync.c')
| -rw-r--r-- | sail/sync.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sail/sync.c b/sail/sync.c index d793aac5..b60b19f0 100644 --- a/sail/sync.c +++ b/sail/sync.c @@ -1,4 +1,4 @@ -/* $NetBSD: sync.c,v 1.18 2001/01/04 03:51:24 jwise Exp $ */ +/* $NetBSD: sync.c,v 1.19 2001/01/04 05:34:56 jwise 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.18 2001/01/04 03:51:24 jwise Exp $"); +__RCSID("$NetBSD: sync.c,v 1.19 2001/01/04 05:34:56 jwise Exp $"); #endif #endif /* not lint */ @@ -57,8 +57,10 @@ __RCSID("$NetBSD: sync.c,v 1.18 2001/01/04 03:51:24 jwise Exp $"); #define BUFSIZE 4096 void fmtship(char *, size_t, const char *, struct ship *); -void makesignal(struct ship *, const char *, struct ship *, ...); -void makemsg(struct ship *, const char *, ...); +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); |
