diff options
author | 2001-08-30 17:47:57 +0000 | |
---|---|---|
committer | 2001-08-30 17:47:57 +0000 | |
commit | cd74a012b845ae044cd9f1e0ae04b79ba469b17c (patch) | |
tree | 96905b28700700d58fd75b2a3cd649fd47e7510b /lib/libc | |
parent | o kill register (diff) | |
download | wireguard-openbsd-cd74a012b845ae044cd9f1e0ae04b79ba469b17c.tar.xz wireguard-openbsd-cd74a012b845ae044cd9f1e0ae04b79ba469b17c.zip |
Back out fgsch@'s tree breaking commits.
Test next time, ok?
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/include/thread_private.h | 6 | ||||
-rw-r--r-- | lib/libc/stdio/flockfile.c | 4 | ||||
-rw-r--r-- | lib/libc/thread/thread_fd.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/include/thread_private.h b/lib/libc/include/thread_private.h index b1f322d10e4..24c7f3890bd 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.8 2001/08/30 07:38:27 fgsch Exp $ */ +/* $OpenBSD: thread_private.h,v 1.9 2001/08/30 17:47:57 todd 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 *, char *, int); +int _thread_fd_lock_debug(int, int, struct timespec *, const char *, int); void _thread_fd_unlock(int, int); -void _thread_fd_unlock_debug(int, int, char *, int); +void _thread_fd_unlock_debug(int, int, const char *, int); #endif /* _THREAD_PRIVATE_H_ */ diff --git a/lib/libc/stdio/flockfile.c b/lib/libc/stdio/flockfile.c index 07490e93384..3c2af764dc6 100644 --- a/lib/libc/stdio/flockfile.c +++ b/lib/libc/stdio/flockfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: flockfile.c,v 1.3 2001/08/30 07:38:27 fgsch Exp $ */ +/* $OpenBSD: flockfile.c,v 1.4 2001/08/30 17:47:57 todd 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; - char * fname; + const char * fname; int lineno; { } diff --git a/lib/libc/thread/thread_fd.c b/lib/libc/thread/thread_fd.c index 2c98939b9d7..368800a69d7 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.2 2001/08/30 07:38:27 fgsch Exp $ */ +/* $OpenBSD: thread_fd.c,v 1.3 2001/08/30 17:47:57 todd 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; - char *fname; + const 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; - char *fname; + const char *fname; int lineno; { } |