X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/d00a8d1e94456d45abbb7c94cd846661735277ab..28db4ccb3e2ee071d561e6ab9f075e7deb65fdb6:/hack/hack.rip.c diff --git a/hack/hack.rip.c b/hack/hack.rip.c index a0b11671..9c2c199a 100644 --- a/hack/hack.rip.c +++ b/hack/hack.rip.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.rip.c,v 1.11 2009/06/29 23:05:33 dholland Exp $ */ +/* $NetBSD: hack.rip.c,v 1.12 2009/08/12 07:28:41 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.rip.c,v 1.11 2009/06/29 23:05:33 dholland Exp $"); +__RCSID("$NetBSD: hack.rip.c,v 1.12 2009/08/12 07:28:41 dholland Exp $"); #endif /* not lint */ #include "hack.h" @@ -83,6 +83,8 @@ static const char *ripbot = "\ *| * * * | *\n\ _________)/\\\\_//(\\/(/\\)/\\//\\/|_)_______"; +static void center(int, char *); + void outrip(void) { @@ -124,7 +126,7 @@ outrip(void) getret(); } -void +static void center(int line __unused, char *text) { int n = strlen(text) / 2;