Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/tic Use util.h only in the native case.



details:   https://anonhg.NetBSD.org/src/rev/44c58374e7f8
branches:  trunk
changeset: 783161:44c58374e7f8
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Dec 08 21:04:27 2012 +0000

description:
Use util.h only in the native case.

diffstat:

 usr.bin/tic/tic.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 673c1febcf77 -r 44c58374e7f8 usr.bin/tic/tic.c
--- a/usr.bin/tic/tic.c Sat Dec 08 14:40:10 2012 +0000
+++ b/usr.bin/tic/tic.c Sat Dec 08 21:04:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tic.c,v 1.21 2012/11/29 23:01:16 mbalmer Exp $ */
+/* $NetBSD: tic.c,v 1.22 2012/12/08 21:04:27 joerg Exp $ */
 
 /*
  * Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: tic.c,v 1.21 2012/11/29 23:01:16 mbalmer Exp $");
+__RCSID("$NetBSD: tic.c,v 1.22 2012/12/08 21:04:27 joerg Exp $");
 
 #include <sys/types.h>
 #include <sys/queue.h>
@@ -40,6 +40,9 @@
 #if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
 #include <sys/endian.h>
 #endif
+#if !HAVE_NBTOOL_CONFIG_H
+#include <util.h>
+#endif
 
 #include <cdbw.h>
 #include <ctype.h>
@@ -55,7 +58,6 @@
 #include <string.h>
 #include <term_private.h>
 #include <term.h>
-#include <util.h>
 
 #define        HASH_SIZE       16384   /* 2012-06-01: 3600 entries */
 



Home | Main Index | Thread Index | Old Index