From a2515e35506e73e8f6422799dea7f4834cd0f558 Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 13 Sep 1998 15:27:25 +0000 Subject: mark non-returning functions (PR#6144 by Joseph Myers ) --- tetris/tetris.c | 6 +++--- tetris/tetris.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tetris') diff --git a/tetris/tetris.c b/tetris/tetris.c index 0b08ddab..b2f0006c 100644 --- a/tetris/tetris.c +++ b/tetris/tetris.c @@ -1,4 +1,4 @@ -/* $NetBSD: tetris.c,v 1.4 1998/08/10 02:25:45 perry Exp $ */ +/* $NetBSD: tetris.c,v 1.5 1998/09/13 15:27:30 hubertf Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -64,8 +64,8 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\ static void elide __P((void)); static void setup_board __P((void)); int main __P((int, char **)); - void onintr __P((int)); - void usage __P((void)); + void onintr __P((int)) __attribute__((__noreturn__)); + void usage __P((void)) __attribute__((__noreturn__)); /* * Set up the initial board. The bottom display row is completely set, diff --git a/tetris/tetris.h b/tetris/tetris.h index 90e9c5d5..0aa41056 100644 --- a/tetris/tetris.h +++ b/tetris/tetris.h @@ -1,4 +1,4 @@ -/* $NetBSD: tetris.h,v 1.2 1995/04/22 07:42:48 cgd Exp $ */ +/* $NetBSD: tetris.h,v 1.3 1998/09/13 15:27:30 hubertf Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -168,4 +168,4 @@ char key_msg[100]; int fits_in __P((struct shape *, int)); void place __P((struct shape *, int, int)); -void stop __P((char *)); +void stop __P((char *)) __attribute__((__noreturn__)); -- cgit v1.2.3-56-ge451