Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack sys/cdefs.h should come from rumpuser_port.h



details:   https://anonhg.NetBSD.org/src/rev/8ee28fae5048
branches:  trunk
changeset: 788757:8ee28fae5048
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Jul 18 22:58:35 2013 +0000

description:
sys/cdefs.h should come from rumpuser_port.h

Noticed by Justin Cormack while building against musl libc.

diffstat:

 lib/librumphijack/hijack.c      |  7 ++++---
 lib/librumphijack/hijackdlsym.c |  7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (42 lines):

diff -r d23c8f1a736c -r 8ee28fae5048 lib/librumphijack/hijack.c
--- a/lib/librumphijack/hijack.c        Thu Jul 18 22:42:50 2013 +0000
+++ b/lib/librumphijack/hijack.c        Thu Jul 18 22:58:35 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijack.c,v 1.100 2012/10/16 12:56:10 pooka Exp $      */
+/*      $NetBSD: hijack.c,v 1.101 2013/07/18 22:58:35 pooka Exp $      */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -30,8 +30,9 @@
 
 #include "rumpuser_port.h"
 
-#include <sys/cdefs.h>
-__RCSID("$NetBSD: hijack.c,v 1.100 2012/10/16 12:56:10 pooka Exp $");
+#if !defined(lint)
+__RCSID("$NetBSD: hijack.c,v 1.101 2013/07/18 22:58:35 pooka Exp $");
+#endif
 
 #include <sys/param.h>
 #include <sys/types.h>
diff -r d23c8f1a736c -r 8ee28fae5048 lib/librumphijack/hijackdlsym.c
--- a/lib/librumphijack/hijackdlsym.c   Thu Jul 18 22:42:50 2013 +0000
+++ b/lib/librumphijack/hijackdlsym.c   Thu Jul 18 22:58:35 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: hijackdlsym.c,v 1.3 2012/08/25 18:00:06 pooka Exp $   */
+/*      $NetBSD: hijackdlsym.c,v 1.4 2013/07/18 22:58:35 pooka Exp $   */
 
 /*-
  * Copyright (c) 2011 Antti Kantee.  All Rights Reserved.
@@ -27,8 +27,9 @@
 
 #include "rumpuser_port.h"
 
-#include <sys/cdefs.h>
-__RCSID("$NetBSD: hijackdlsym.c,v 1.3 2012/08/25 18:00:06 pooka Exp $");
+#if !defined(lint)
+__RCSID("$NetBSD: hijackdlsym.c,v 1.4 2013/07/18 22:58:35 pooka Exp $");
+#endif
 
 #include <dlfcn.h>
 



Home | Main Index | Thread Index | Old Index