Source-Changes-HG archive

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

[src/trunk]: src Requires stdint.h.



details:   https://anonhg.NetBSD.org/src/rev/d7ca6384ac9a
branches:  trunk
changeset: 768591:d7ca6384ac9a
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Aug 21 21:24:34 2011 +0000

description:
Requires stdint.h.

diffstat:

 bin/ksh/eval.c                      |  7 ++++---
 common/lib/libc/string/popcount32.c |  5 +++--
 common/lib/libc/string/popcount64.c |  5 +++--
 3 files changed, 10 insertions(+), 7 deletions(-)

diffs (69 lines):

diff -r 58ec5c54f982 -r d7ca6384ac9a bin/ksh/eval.c
--- a/bin/ksh/eval.c    Sun Aug 21 17:11:59 2011 +0000
+++ b/bin/ksh/eval.c    Sun Aug 21 21:24:34 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eval.c,v 1.13 2011/08/14 10:40:25 christos Exp $       */
+/*     $NetBSD: eval.c,v 1.14 2011/08/21 21:24:34 dholland Exp $       */
 
 /*
  * Expansion - quoting, separation, substitution, globbing
@@ -6,12 +6,13 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: eval.c,v 1.13 2011/08/14 10:40:25 christos Exp $");
+__RCSID("$NetBSD: eval.c,v 1.14 2011/08/21 21:24:34 dholland Exp $");
 #endif
 
+#include <stdint.h>
+#include <pwd.h>
 
 #include "sh.h"
-#include <pwd.h>
 #include "ksh_dir.h"
 #include "ksh_stat.h"
 
diff -r 58ec5c54f982 -r d7ca6384ac9a common/lib/libc/string/popcount32.c
--- a/common/lib/libc/string/popcount32.c       Sun Aug 21 17:11:59 2011 +0000
+++ b/common/lib/libc/string/popcount32.c       Sun Aug 21 21:24:34 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: popcount32.c,v 1.3 2009/07/21 19:56:55 drochner Exp $  */
+/*     $NetBSD: popcount32.c,v 1.4 2011/08/21 21:25:04 dholland Exp $  */
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -32,10 +32,11 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: popcount32.c,v 1.3 2009/07/21 19:56:55 drochner Exp $");
+__RCSID("$NetBSD: popcount32.c,v 1.4 2011/08/21 21:25:04 dholland Exp $");
 
 #if !defined(_KERNEL) && !defined(_STANDALONE)
 #include <limits.h>
+#include <stdint.h>
 #include <strings.h>
 #else
 #include <lib/libkern/libkern.h>
diff -r 58ec5c54f982 -r d7ca6384ac9a common/lib/libc/string/popcount64.c
--- a/common/lib/libc/string/popcount64.c       Sun Aug 21 17:11:59 2011 +0000
+++ b/common/lib/libc/string/popcount64.c       Sun Aug 21 21:24:34 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: popcount64.c,v 1.5 2009/08/05 15:04:15 joerg Exp $     */
+/*     $NetBSD: popcount64.c,v 1.6 2011/08/21 21:25:04 dholland Exp $  */
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -32,10 +32,11 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: popcount64.c,v 1.5 2009/08/05 15:04:15 joerg Exp $");
+__RCSID("$NetBSD: popcount64.c,v 1.6 2011/08/21 21:25:04 dholland Exp $");
 
 #if !defined(_KERNEL) && !defined(_STANDALONE)
 #include <limits.h>
+#include <stdint.h>
 #include <strings.h>
 #else
 #include <lib/libkern/libkern.h>



Home | Main Index | Thread Index | Old Index