Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc put back strerror_ss, it will be used shortly.
details: https://anonhg.NetBSD.org/src/rev/b9b2ba9ced04
branches: trunk
changeset: 350454:b9b2ba9ced04
user: christos <christos%NetBSD.org@localhost>
date: Thu Jan 12 00:43:55 2017 +0000
description:
put back strerror_ss, it will be used shortly.
diffstat:
lib/libc/include/extern.h | 3 ++-
lib/libc/string/strerror_ss.c | 6 ++----
2 files changed, 4 insertions(+), 5 deletions(-)
diffs (47 lines):
diff -r a4a1bc874714 -r b9b2ba9ced04 lib/libc/include/extern.h
--- a/lib/libc/include/extern.h Thu Jan 12 00:38:25 2017 +0000
+++ b/lib/libc/include/extern.h Thu Jan 12 00:43:55 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.24 2017/01/12 00:35:38 christos Exp $ */
+/* $NetBSD: extern.h,v 1.25 2017/01/12 00:43:55 christos Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -73,5 +73,6 @@
int _sys_setcontext(const ucontext_t *);
int strerror_r_ss(int, char *, size_t);
+__aconst char *strerror_ss(int);
__END_DECLS
diff -r a4a1bc874714 -r b9b2ba9ced04 lib/libc/string/strerror_ss.c
--- a/lib/libc/string/strerror_ss.c Thu Jan 12 00:38:25 2017 +0000
+++ b/lib/libc/string/strerror_ss.c Thu Jan 12 00:43:55 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: strerror_ss.c,v 1.1 2017/01/12 00:35:38 christos Exp $ */
+/* $NetBSD: strerror_ss.c,v 1.2 2017/01/12 00:43:55 christos Exp $ */
/*-
* Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: strerror_ss.c,v 1.1 2017/01/12 00:35:38 christos Exp $");
+__RCSID("$NetBSD: strerror_ss.c,v 1.2 2017/01/12 00:43:55 christos Exp $");
#include "namespace.h"
@@ -53,7 +53,6 @@
return 0;
}
-#ifdef notyet
__aconst char *
strerror_ss(int num)
{
@@ -62,4 +61,3 @@
strerror_r_ss(num, buf, sizeof(buf));
return buf;
}
-#endif
Home |
Main Index |
Thread Index |
Old Index