]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - hangman/prword.c
Use macro NAMLEN rather than dirent->d_namlen, for easier portability.
[bsdgames-darwin.git] / hangman / prword.c
index 1136cc8a45719c8b8315069a6af488fbf4c18bb5..b1da612ffb35a25ad1dd16f81d78ee515176a280 100644 (file)
@@ -1,6 +1,8 @@
+/*     $NetBSD: prword.c,v 1.4 1997/10/11 01:16:40 lukem Exp $ */
+
 /*-
- * Copyright (c) 1983 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1983, 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[] = "@(#)prword.c   5.3 (Berkeley) 4/8/91";
+#if 0
+static char sccsid[] = "@(#)prword.c   8.1 (Berkeley) 5/31/93";
+#else
+__RCSID("$NetBSD: prword.c,v 1.4 1997/10/11 01:16:40 lukem Exp $");
+#endif
 #endif /* not lint */
 
-# include      "hangman.h"
+#include       "hangman.h"
 
 /*
  * prword:
  *     Print out the current state of the word
  */
+void
 prword()
 {
        move(KNOWNY, KNOWNX + sizeof "Word: ");