From 5b76eed8435d83619f278cc1584ca5751e2804f6 Mon Sep 17 00:00:00 2001 From: perry Date: Sat, 15 Dec 2007 19:44:37 +0000 Subject: convert __attribute__s to applicable cdefs.h macros --- worms/worms.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'worms') diff --git a/worms/worms.c b/worms/worms.c index 88fc47a5..bf0c9701 100644 --- a/worms/worms.c +++ b/worms/worms.c @@ -1,4 +1,4 @@ -/* $NetBSD: worms.c,v 1.16 2004/09/12 04:51:32 christos Exp $ */ +/* $NetBSD: worms.c,v 1.17 2007/12/15 19:44:45 perry Exp $ */ /* * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)worms.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: worms.c,v 1.16 2004/09/12 04:51:32 christos Exp $"); +__RCSID("$NetBSD: worms.c,v 1.17 2007/12/15 19:44:45 perry Exp $"); #endif #endif /* not lint */ @@ -180,7 +180,7 @@ static struct worm { volatile sig_atomic_t sig_caught = 0; int main(int, char **); -void nomem(void) __attribute__((__noreturn__)); +void nomem(void) __dead; void onsig(int); int @@ -340,7 +340,7 @@ main(argc, argv) void onsig(signo) - int signo __attribute__((__unused__)); + int signo __unused; { sig_caught = 1; } -- cgit v1.2.3-56-ge451