Module Name:    src
Committed By:   dholland
Date:           Wed Jul 20 07:04:30 UTC 2011

Modified Files:
        src/games/hack: hack.bones.c hack.do.c

Log Message:
Include system headers before private headers. Avoids various possible
symbol conflicts.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/games/hack/hack.bones.c
cvs rdiff -u -r1.9 -r1.10 src/games/hack/hack.do.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/hack/hack.bones.c
diff -u src/games/hack/hack.bones.c:1.8 src/games/hack/hack.bones.c:1.9
--- src/games/hack/hack.bones.c:1.8	Wed Aug 12 07:28:40 2009
+++ src/games/hack/hack.bones.c	Wed Jul 20 07:04:30 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: hack.bones.c,v 1.8 2009/08/12 07:28:40 dholland Exp $	*/
+/*	$NetBSD: hack.bones.c,v 1.9 2011/07/20 07:04:30 dholland Exp $	*/
 
 /*
  * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,13 +63,13 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: hack.bones.c,v 1.8 2009/08/12 07:28:40 dholland Exp $");
+__RCSID("$NetBSD: hack.bones.c,v 1.9 2011/07/20 07:04:30 dholland Exp $");
 #endif				/* not lint */
 
-#include "hack.h"
-#include "extern.h"
 #include <fcntl.h>
 #include <unistd.h>
+#include "hack.h"
+#include "extern.h"
 
 static char bones[] = "bones_xx";
 

Index: src/games/hack/hack.do.c
diff -u src/games/hack/hack.do.c:1.9 src/games/hack/hack.do.c:1.10
--- src/games/hack/hack.do.c:1.9	Wed Aug 12 07:28:40 2009
+++ src/games/hack/hack.do.c	Wed Jul 20 07:04:30 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: hack.do.c,v 1.9 2009/08/12 07:28:40 dholland Exp $	*/
+/*	$NetBSD: hack.do.c,v 1.10 2011/07/20 07:04:30 dholland Exp $	*/
 
 /*
  * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,16 +63,16 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: hack.do.c,v 1.9 2009/08/12 07:28:40 dholland Exp $");
+__RCSID("$NetBSD: hack.do.c,v 1.10 2011/07/20 07:04:30 dholland Exp $");
 #endif				/* not lint */
 
 /* Contains code for 'd', 'D' (drop), '>', '<' (up, down) and 't' (throw) */
 
-#include "hack.h"
-#include "extern.h"
 #include <fcntl.h>
 #include <unistd.h>
 #include <stdlib.h>
+#include "hack.h"
+#include "extern.h"
 
 
 static int drop(struct obj *);

Reply via email to