Source-Changes-HG archive

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

[src/trunk]: src/lib/libbluetooth remove compile time guard from previous com...



details:   https://anonhg.NetBSD.org/src/rev/da5b7de6a819
branches:  trunk
changeset: 763810:da5b7de6a819
user:      plunky <plunky%NetBSD.org@localhost>
date:      Mon Apr 04 18:29:47 2011 +0000

description:
remove compile time guard from previous commit, it is not needed
(C99 guarantees [u]intmax types are at least 64-bits)

diffstat:

 lib/libbluetooth/sdp_get.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 9fcb1cef1065 -r da5b7de6a819 lib/libbluetooth/sdp_get.c
--- a/lib/libbluetooth/sdp_get.c        Mon Apr 04 18:24:56 2011 +0000
+++ b/lib/libbluetooth/sdp_get.c        Mon Apr 04 18:29:47 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdp_get.c,v 1.2 2011/04/04 16:19:25 plunky Exp $       */
+/*     $NetBSD: sdp_get.c,v 1.3 2011/04/04 18:29:47 plunky Exp $       */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -30,15 +30,11 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: sdp_get.c,v 1.2 2011/04/04 16:19:25 plunky Exp $");
+__RCSID("$NetBSD: sdp_get.c,v 1.3 2011/04/04 18:29:47 plunky Exp $");
 
 #include <sdp.h>
 #include <limits.h>
 
-#if INTMAX_MAX < INT64_MAX
-#warning INTMAX type is not large enough to hold INT64 values
-#endif
-
 /******************************************************************************
  *     sdp_get_xxxx(data, value)
  *



Home | Main Index | Thread Index | Old Index