Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpclient fix the extern "C" stuff



details:   https://anonhg.NetBSD.org/src/rev/6627e3d8c8ea
branches:  trunk
changeset: 784090:6627e3d8c8ea
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jan 17 22:16:59 2013 +0000

description:
fix the extern "C" stuff

diffstat:

 lib/librumpclient/rumpclient.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b8ab88c2d95f -r 6627e3d8c8ea lib/librumpclient/rumpclient.h
--- a/lib/librumpclient/rumpclient.h    Thu Jan 17 22:12:52 2013 +0000
+++ b/lib/librumpclient/rumpclient.h    Thu Jan 17 22:16:59 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpclient.h,v 1.13 2013/01/17 20:47:44 pooka Exp $    */
+/*     $NetBSD: rumpclient.h,v 1.14 2013/01/17 22:16:59 pooka Exp $    */
 
 /*-
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -44,7 +44,7 @@
 
 #ifdef __BEGIN_DECLS
 __BEGIN_DECLS
-#else
+#elif defined(__cplusplus)
 extern "C" {
 #endif
 
@@ -108,7 +108,7 @@
 
 #ifdef __END_DECLS
 __END_DECLS
-#else
+#elif defined(__cplusplus)
 }
 #endif
 



Home | Main Index | Thread Index | Old Index