summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2001-09-04 22:17:44 +0000
committerfgsch <fgsch@openbsd.org>2001-09-04 22:17:44 +0000
commit76255b28fcbd9cdd77f49c23b6b60f68de906f88 (patch)
tree8b1adfbd865f3ad766fe5ed55b5dc298f9670823 /lib/libc
parentFix a diagnostic (diff)
downloadwireguard-openbsd-76255b28fcbd9cdd77f49c23b6b60f68de906f88.tar.xz
wireguard-openbsd-76255b28fcbd9cdd77f49c23b6b60f68de906f88.zip
put changes back, this time ALL the files.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/include/thread_private.h6
-rw-r--r--lib/libc/stdio/flockfile.c4
-rw-r--r--lib/libc/thread/thread_fd.c6
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/include/thread_private.h b/lib/libc/include/thread_private.h
index 24c7f3890bd..723bed5f518 100644
--- a/lib/libc/include/thread_private.h
+++ b/lib/libc/include/thread_private.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: thread_private.h,v 1.9 2001/08/30 17:47:57 todd Exp $ */
+/* $OpenBSD: thread_private.h,v 1.10 2001/09/04 22:17:45 fgsch Exp $ */
#ifndef _THREAD_PRIVATE_H_
#define _THREAD_PRIVATE_H_
@@ -128,8 +128,8 @@ void * _libc_private_storage(volatile struct _thread_private_key_struct *,
#endif
int _thread_fd_lock(int, int, struct timespec *);
-int _thread_fd_lock_debug(int, int, struct timespec *, const char *, int);
+int _thread_fd_lock_debug(int, int, struct timespec *, char *, int);
void _thread_fd_unlock(int, int);
-void _thread_fd_unlock_debug(int, int, const char *, int);
+void _thread_fd_unlock_debug(int, int, char *, int);
#endif /* _THREAD_PRIVATE_H_ */
diff --git a/lib/libc/stdio/flockfile.c b/lib/libc/stdio/flockfile.c
index 3c2af764dc6..e0963391596 100644
--- a/lib/libc/stdio/flockfile.c
+++ b/lib/libc/stdio/flockfile.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flockfile.c,v 1.4 2001/08/30 17:47:57 todd Exp $ */
+/* $OpenBSD: flockfile.c,v 1.5 2001/09/04 22:17:45 fgsch Exp $ */
#include <stdio.h>
#include "thread_private.h"
@@ -48,7 +48,7 @@ WEAK_NAME(funlockfile)(fp)
void
WEAK_NAME(_flockfile_debug)(fp, fname, lineno)
FILE * fp;
- const char * fname;
+ char * fname;
int lineno;
{
}
diff --git a/lib/libc/thread/thread_fd.c b/lib/libc/thread/thread_fd.c
index 368800a69d7..1d0e50d65a6 100644
--- a/lib/libc/thread/thread_fd.c
+++ b/lib/libc/thread/thread_fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: thread_fd.c,v 1.3 2001/08/30 17:47:57 todd Exp $ */
+/* $OpenBSD: thread_fd.c,v 1.4 2001/09/04 22:17:45 fgsch Exp $ */
#include <sys/time.h>
#include <pthread.h>
@@ -28,7 +28,7 @@ WEAK_NAME(_thread_fd_lock_debug)(fd, lock_type, timeout, fname, lineno)
int fd;
int lock_type;
struct timespec *timeout;
- const char *fname;
+ char *fname;
int lineno;
{
return 0;
@@ -45,7 +45,7 @@ void
WEAK_NAME(_thread_fd_unlock_debug)(fd, lock_type, fname, lineno)
int fd;
int lock_type;
- const char *fname;
+ char *fname;
int lineno;
{
}