diff options
author | dholland <dholland@NetBSD.org> | 2011-08-26 06:18:16 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2011-08-26 06:18:16 +0000 |
commit | 9e7fd816e02e66962d482b02209f112e1d5789fc (patch) | |
tree | a17f6ea5c647e0ec62bfe7ecad4192e0335b121b /boggle | |
parent | 9969175ad6caac230e2fee18f6f64f2be17a1fa6 (diff) | |
download | bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.tar.gz bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.tar.zst bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.zip |
Use __dead and __printflike instead of __attribute__.
Diffstat (limited to 'boggle')
-rw-r--r-- | boggle/boggle/bog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boggle/boggle/bog.c b/boggle/boggle/bog.c index a3502d1e..b56f568a 100644 --- a/boggle/boggle/bog.c +++ b/boggle/boggle/bog.c @@ -1,4 +1,4 @@ -/* $NetBSD: bog.c,v 1.26 2010/12/05 04:34:22 pgoyette Exp $ */ +/* $NetBSD: bog.c,v 1.27 2011/08/26 06:18:17 dholland Exp $ */ /*- * Copyright (c) 1993 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993\ #if 0 static char sccsid[] = "@(#)bog.c 8.2 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: bog.c,v 1.26 2010/12/05 04:34:22 pgoyette Exp $"); +__RCSID("$NetBSD: bog.c,v 1.27 2011/08/26 06:18:17 dholland Exp $"); #endif #endif /* not lint */ @@ -64,7 +64,7 @@ static int validword(const char *); static void checkdict(void); static void newgame(const char *); static int compar(const void *, const void *); -static void usage(void) __attribute__((__noreturn__)); +static void usage(void) __dead; struct dictindex dictindex[26]; |