+/* $NetBSD: lose.c,v 1.5 1999/07/21 13:19:11 hubertf Exp $ */
+
/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1980, 1993
+ * The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
-static char sccsid[] = "@(#)lose.c 5.6 (Berkeley) 6/26/90";
+#if 0
+static char sccsid[] = "@(#)lose.c 8.1 (Berkeley) 5/31/93";
+#else
+__RCSID("$NetBSD: lose.c,v 1.5 1999/07/21 13:19:11 hubertf Exp $");
+#endif
#endif /* not lint */
-# include "trek.h"
-# include <setjmp.h>
+#include <stdio.h>
+#include <setjmp.h>
+#include <unistd.h>
+#include "trek.h"
+#include "getpar.h"
/*
** PRINT OUT LOSER MESSAGES
** actions which need be taken are taken.
*/
-char *Losemsg[] =
+const char *const Losemsg[] =
{
"You ran out of time",
"You ran out of energy",
"Your last crew member died",
};
+void
lose(why)
int why;
{