Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/hunt/hunt group external functions by where they come ...



details:   https://anonhg.NetBSD.org/src/rev/4866d47d4e82
branches:  trunk
changeset: 794996:4866d47d4e82
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Mar 29 22:15:26 2014 +0000

description:
group external functions by where they come from

diffstat:

 games/hunt/hunt/hunt_private.h |  19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diffs (34 lines):

diff -r fc2374f2ac22 -r 4866d47d4e82 games/hunt/hunt/hunt_private.h
--- a/games/hunt/hunt/hunt_private.h    Sat Mar 29 22:15:13 2014 +0000
+++ b/games/hunt/hunt/hunt_private.h    Sat Mar 29 22:15:26 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hunt_private.h,v 1.2 2014/03/29 22:05:44 dholland Exp $        */
+/*     $NetBSD: hunt_private.h,v 1.3 2014/03/29 22:15:26 dholland Exp $        */
 
 /*
  * Copyright (c) 1983-2003, Regents of the University of California.
@@ -78,12 +78,19 @@
  * function types
  */
 
-void bad_con(void) __dead;
-void bad_ver(void) __dead;
-void clear_the_screen(void);
+/* in connect.c */
 void do_connect(char *, char, long);
-void do_message(void);
+
+/* in hunt.c */
+__dead void bad_con(void);
+__dead void bad_ver(void);
+void intr(int);
+
+/* in otto.c */
 void otto(int, int, char);
+
+/* in playit.c */
 void playit(void);
 int quit(int);
-void intr(int);
+void clear_the_screen(void);
+void do_message(void);



Home | Main Index | Thread Index | Old Index