Module Name: src
Committed By: pooka
Date: Thu Jul 18 22:58:35 UTC 2013
Modified Files:
src/lib/librumphijack: hijack.c hijackdlsym.c
Log Message:
sys/cdefs.h should come from rumpuser_port.h
Noticed by Justin Cormack while building against musl libc.
To generate a diff of this commit:
cvs rdiff -u -r1.100 -r1.101 src/lib/librumphijack/hijack.c
cvs rdiff -u -r1.3 -r1.4 src/lib/librumphijack/hijackdlsym.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librumphijack/hijack.c
diff -u src/lib/librumphijack/hijack.c:1.100 src/lib/librumphijack/hijack.c:1.101
--- src/lib/librumphijack/hijack.c:1.100 Tue Oct 16 12:56:10 2012
+++ src/lib/librumphijack/hijack.c Thu Jul 18 22:58:35 2013
@@ -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>
Index: src/lib/librumphijack/hijackdlsym.c
diff -u src/lib/librumphijack/hijackdlsym.c:1.3 src/lib/librumphijack/hijackdlsym.c:1.4
--- src/lib/librumphijack/hijackdlsym.c:1.3 Sat Aug 25 18:00:06 2012
+++ src/lib/librumphijack/hijackdlsym.c Thu Jul 18 22:58:35 2013
@@ -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>