Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/resolv one more missing weak_alias



details:   https://anonhg.NetBSD.org/src/rev/cd0a4c7eb0e5
branches:  trunk
changeset: 566884:cd0a4c7eb0e5
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 23 05:09:52 2004 +0000

description:
one more missing weak_alias

diffstat:

 lib/libc/resolv/herror.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 2ae2a4c2617a -r cd0a4c7eb0e5 lib/libc/resolv/herror.c
--- a/lib/libc/resolv/herror.c  Sun May 23 03:16:40 2004 +0000
+++ b/lib/libc/resolv/herror.c  Sun May 23 05:09:52 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: herror.c,v 1.3 2004/05/20 19:43:39 christos Exp $      */
+/*     $NetBSD: herror.c,v 1.4 2004/05/23 05:09:52 christos Exp $      */
 
 /*
  * Copyright (c) 1987, 1993
@@ -56,12 +56,13 @@
 static const char sccsid[] = "@(#)herror.c     8.1 (Berkeley) 6/4/93";
 static const char rcsid[] = "Id: herror.c,v 1.2.206.1 2004/03/09 08:33:54 marka Exp";
 #else
-__RCSID("$NetBSD: herror.c,v 1.3 2004/05/20 19:43:39 christos Exp $");
+__RCSID("$NetBSD: herror.c,v 1.4 2004/05/23 05:09:52 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
 #include "port_before.h"
 
+#include "namespace.h"
 #include <sys/types.h>
 #include <sys/param.h>
 #include <sys/uio.h>
@@ -90,6 +91,10 @@
 int    h_errno;
 #endif
 
+#ifdef __weak_alias
+__weak_alias(herror,_herror)
+#endif
+
 /*
  * herror --
  *     print the error indicated by the h_errno value.



Home | Main Index | Thread Index | Old Index