+/* $NetBSD: win.c,v 1.6 2001/02/05 01:12:46 christos 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[] = "@(#)win.c 5.5 (Berkeley) 6/26/90";
+#if 0
+static char sccsid[] = "@(#)win.c 8.1 (Berkeley) 5/31/93";
+#else
+__RCSID("$NetBSD: win.c,v 1.6 2001/02/05 01:12:46 christos Exp $");
+#endif
#endif /* not lint */
-# include "trek.h"
-# include "getpar.h"
-# include <setjmp.h>
+#include <stdio.h>
+#include <unistd.h>
+#include <setjmp.h>
+#include "trek.h"
+#include "getpar.h"
/*
** Signal game won
** pretty off the wall.
*/
+extern jmp_buf env;
+
+void
win()
{
- long s;
- extern jmp_buf env;
- extern long score();
- extern struct cvntab Skitab[];
- register struct cvntab *p;
+ long s;
+ const struct cvntab *p = NULL;
sleep(1);
printf("\nCongratulations, you have saved the Federation\n");