summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-10-08 00:35:50 +0000
committerchristos <christos@NetBSD.org>1997-10-08 00:35:50 +0000
commite57ffbac5516062a1b72468bc6697f2e0d0afeec (patch)
tree4a9888bf45463c5fa109fc8055b9ea95b4ebb3fa /lib/libpthread
parenteaa78382991b5462e3c8d254f281c86bad4408cf (diff)
Fix declaration of sys_errlist, add prototypes for flockfile and funlockfile
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/include/stdio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libpthread/include/stdio.h b/lib/libpthread/include/stdio.h
index f97291e72e5..ed8b72dae8b 100644
--- a/lib/libpthread/include/stdio.h
+++ b/lib/libpthread/include/stdio.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)stdio.h 5.17 (Berkeley) 6/3/91
- * $Id: stdio.h,v 1.1 1994/02/07 22:02:37 proven Exp $ $provenid: stdio.h,v 1.18 1994/02/07 03:32:06 proven Exp $
+ * $Id: stdio.h,v 1.2 1997/10/08 00:35:50 christos Exp $ $provenid: stdio.h,v 1.18 1994/02/07 03:32:06 proven Exp $
*/
#ifndef _STDIO_H_
@@ -210,7 +210,7 @@ char * gets __P((char *));
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
extern int sys_nerr; /* perror(3) external variables */
-extern char *sys_errlist[];
+extern const char *const sys_errlist[];
#endif
void perror __P((const char *));
@@ -297,6 +297,8 @@ __BEGIN_DECLS
int __srget __P((FILE *));
int __svfscanf __P((FILE *, const char *, va_list));
int __swbuf __P((int, FILE *));
+void flockfile __P((const FILE *));
+void funlockfile __P((const FILE *));
__END_DECLS
/*