Module Name:    src
Committed By:   christos
Date:           Thu Jan 12 00:43:55 UTC 2017

Modified Files:
        src/lib/libc/include: extern.h
        src/lib/libc/string: strerror_ss.c

Log Message:
put back strerror_ss, it will be used shortly.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/include/extern.h
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/string/strerror_ss.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/include/extern.h
diff -u src/lib/libc/include/extern.h:1.24 src/lib/libc/include/extern.h:1.25
--- src/lib/libc/include/extern.h:1.24	Wed Jan 11 19:35:38 2017
+++ src/lib/libc/include/extern.h	Wed Jan 11 19:43:55 2017
@@ -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 @@ void	_malloc_postfork(void);
 int	_sys_setcontext(const ucontext_t *);
 
 int	strerror_r_ss(int, char *, size_t);
+__aconst char *strerror_ss(int);
 
 __END_DECLS

Index: src/lib/libc/string/strerror_ss.c
diff -u src/lib/libc/string/strerror_ss.c:1.1 src/lib/libc/string/strerror_ss.c:1.2
--- src/lib/libc/string/strerror_ss.c:1.1	Wed Jan 11 19:35:38 2017
+++ src/lib/libc/string/strerror_ss.c	Wed Jan 11 19:43:55 2017
@@ -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 @@ strerror_r_ss(int num, char *buf, size_t
 	return 0;
 }
 
-#ifdef notyet
 __aconst char *
 strerror_ss(int num)
 {
@@ -62,4 +61,3 @@ strerror_ss(int num)
 	strerror_r_ss(num, buf, sizeof(buf));
 	return buf;
 }
-#endif

Reply via email to