Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/net Don't create a weak alias in the !RUMPACTION case.
details: https://anonhg.NetBSD.org/src/rev/a29292a2f707
branches: trunk
changeset: 338236:a29292a2f707
user: joerg <joerg%NetBSD.org@localhost>
date: Fri May 15 14:26:02 2015 +0000
description:
Don't create a weak alias in the !RUMPACTION case.
diffstat:
lib/libc/net/getnameinfo.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r 16d5807ce723 -r a29292a2f707 lib/libc/net/getnameinfo.c
--- a/lib/libc/net/getnameinfo.c Fri May 15 12:18:48 2015 +0000
+++ b/lib/libc/net/getnameinfo.c Fri May 15 14:26:02 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: getnameinfo.c,v 1.55 2015/05/15 06:58:59 ozaki-r Exp $ */
+/* $NetBSD: getnameinfo.c,v 1.56 2015/05/15 14:26:02 joerg Exp $ */
/* $KAME: getnameinfo.c,v 1.45 2000/09/25 22:43:56 itojun Exp $ */
/*
@@ -47,7 +47,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getnameinfo.c,v 1.55 2015/05/15 06:58:59 ozaki-r Exp $");
+__RCSID("$NetBSD: getnameinfo.c,v 1.56 2015/05/15 14:26:02 joerg Exp $");
#endif /* LIBC_SCCS and not lint */
#ifndef RUMP_ACTION
@@ -74,9 +74,11 @@
#include "servent.h"
#include "hostent.h"
+#ifndef RUMP_ACTION
#ifdef __weak_alias
__weak_alias(getnameinfo,_getnameinfo)
#endif
+#endif
static const struct afd {
int a_af;
Home |
Main Index |
Thread Index |
Old Index