Module Name: src
Committed By: joerg
Date: Mon Sep 2 07:59:32 UTC 2013
Modified Files:
src/lib/libc/string: strerror.c
Log Message:
Missing alias for strerror_l.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/string/strerror.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/libc/string/strerror.c
diff -u src/lib/libc/string/strerror.c:1.15 src/lib/libc/string/strerror.c:1.16
--- src/lib/libc/string/strerror.c:1.15 Mon Aug 19 13:03:12 2013
+++ src/lib/libc/string/strerror.c Mon Sep 2 07:59:32 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: strerror.c,v 1.15 2013/08/19 13:03:12 joerg Exp $ */
+/* $NetBSD: strerror.c,v 1.16 2013/09/02 07:59:32 joerg Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: strerror.c,v 1.15 2013/08/19 13:03:12 joerg Exp $");
+__RCSID("$NetBSD: strerror.c,v 1.16 2013/09/02 07:59:32 joerg Exp $");
#define __SETLOCALE_SOURCE__
@@ -47,6 +47,8 @@ __RCSID("$NetBSD: strerror.c,v 1.15 2013
#endif
#include "setlocale_local.h"
+__weak_alias(strerror_l, _strerror_l)
+
__aconst char *
strerror(int num)
{