Source-Changes-HG archive

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

[src/trunk]: src/games/fortune/strfile No need to include <sys/endian.h> here...



details:   https://anonhg.NetBSD.org/src/rev/75f32fcd2e15
branches:  trunk
changeset: 480000:75f32fcd2e15
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Dec 30 01:26:44 1999 +0000

description:
No need to include <sys/endian.h> here - <sys/types.h> includes
<machine/endian.h> which DTRT.

diffstat:

 games/fortune/strfile/strfile.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 3a0180e5a09b -r 75f32fcd2e15 games/fortune/strfile/strfile.h
--- a/games/fortune/strfile/strfile.h   Thu Dec 30 01:03:43 1999 +0000
+++ b/games/fortune/strfile/strfile.h   Thu Dec 30 01:26:44 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strfile.h,v 1.4 1999/08/21 07:02:46 simonb Exp $       */
+/*     $NetBSD: strfile.h,v 1.5 1999/12/30 01:26:44 simonb Exp $       */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -39,7 +39,6 @@
  */
 
 #include <sys/types.h>
-#include <sys/endian.h>
 
 #define        STR_ENDSTRING(line,tbl) \
        ((line)[0] == (tbl).str_delim && (line)[1] == '\n')



Home | Main Index | Thread Index | Old Index