Module Name:    src
Committed By:   pooka
Date:           Thu Jan 17 22:16:59 UTC 2013

Modified Files:
        src/lib/librumpclient: rumpclient.h

Log Message:
fix the extern "C" stuff


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/lib/librumpclient/rumpclient.h

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

Modified files:

Index: src/lib/librumpclient/rumpclient.h
diff -u src/lib/librumpclient/rumpclient.h:1.13 src/lib/librumpclient/rumpclient.h:1.14
--- src/lib/librumpclient/rumpclient.h:1.13	Thu Jan 17 20:47:44 2013
+++ src/lib/librumpclient/rumpclient.h	Thu Jan 17 22:16:59 2013
@@ -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 @@ struct rumpclient_fork;
 
 #ifdef __BEGIN_DECLS
 __BEGIN_DECLS
-#else
+#elif defined(__cplusplus)
 extern "C" {
 #endif
 
@@ -108,7 +108,7 @@ rumpclient__dofork(pid_t (*forkfn)(void)
 
 #ifdef __END_DECLS
 __END_DECLS
-#else
+#elif defined(__cplusplus)
 }
 #endif
 

Reply via email to