Module Name:    src
Committed By:   mrg
Date:           Wed Jun 29 02:41:03 UTC 2011

Modified Files:
        src/external/bsd/ntp/dist/lib/isc/include/isc: util.h

Log Message:
use __unused instead of having a function call itself, to provide an
empty translation unit.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/bsd/ntp/dist/lib/isc/include/isc/util.h

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

Modified files:

Index: src/external/bsd/ntp/dist/lib/isc/include/isc/util.h
diff -u src/external/bsd/ntp/dist/lib/isc/include/isc/util.h:1.1.1.1 src/external/bsd/ntp/dist/lib/isc/include/isc/util.h:1.2
--- src/external/bsd/ntp/dist/lib/isc/include/isc/util.h:1.1.1.1	Sun Dec 13 16:54:25 2009
+++ src/external/bsd/ntp/dist/lib/isc/include/isc/util.h	Wed Jun 29 02:41:03 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: util.h,v 1.1.1.1 2009/12/13 16:54:25 kardel Exp $	*/
+/*	$NetBSD: util.h,v 1.2 2011/06/29 02:41:03 mrg Exp $	*/
 
 /*
  * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
@@ -72,7 +72,7 @@
  * Use this in translation units that would otherwise be empty, to
  * suppress compiler warnings.
  */
-#define EMPTY_TRANSLATION_UNIT static void isc__empty(void) { isc__empty(); }
+#define EMPTY_TRANSLATION_UNIT static void __unused isc__empty(void) { } 
 
 /*%
  * We use macros instead of calling the routines directly because

Reply via email to