X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/f31fc2c1d85c05180f4cedad70ca7ec4eb8bb85f..6ee975e21fcf991ef591682630e1259efc1e2d46:/trek/systemname.c diff --git a/trek/systemname.c b/trek/systemname.c index b5e3ad76..0eabec24 100644 --- a/trek/systemname.c +++ b/trek/systemname.c @@ -1,4 +1,4 @@ -/* $NetBSD: systemname.c,v 1.7 2009/05/24 19:18:44 dholland Exp $ */ +/* $NetBSD: systemname.c,v 1.9 2009/05/25 00:05:56 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,11 +34,12 @@ #if 0 static char sccsid[] = "@(#)systemname.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: systemname.c,v 1.7 2009/05/24 19:18:44 dholland Exp $"); +__RCSID("$NetBSD: systemname.c,v 1.9 2009/05/25 00:05:56 dholland Exp $"); #endif #endif /* not lint */ -# include "trek.h" +#include +#include "trek.h" /* ** RETRIEVE THE STARSYSTEM NAME @@ -65,6 +66,6 @@ systemname(const struct quad *q1) i &= Q_SYSTEM; if (i == 0) - return (0); + return NULL; return (Systemname[i]); }