summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
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 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;
{
}