summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-07-18 14:27:08 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-07-18 14:27:08 +0000
commitcdc997fc03b436e277b896bb4db10521089ad9ff (patch)
tree5b5cb4cd8c459dbde0158677f9029142f6482ade
parent2c8b50fe7a7a8722c7f04b89f77b435328b1c8bd (diff)
Make uvm_wait take a const char *
-rw-r--r--sys/uvm/uvm_pdaemon.c6
-rw-r--r--sys/uvm/uvm_pdaemon.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/uvm/uvm_pdaemon.c b/sys/uvm/uvm_pdaemon.c
index 7cfa18d5d76..7cdcb9d0bf0 100644
--- a/sys/uvm/uvm_pdaemon.c
+++ b/sys/uvm/uvm_pdaemon.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: uvm_pdaemon.c,v 1.10 2001/07/18 10:47:05 art Exp $ */
-/* $NetBSD: uvm_pdaemon.c,v 1.18 1999/09/12 01:17:41 chs Exp $ */
+/* $OpenBSD: uvm_pdaemon.c,v 1.11 2001/07/18 14:27:07 art Exp $ */
+/* $NetBSD: uvm_pdaemon.c,v 1.19 1999/11/04 21:51:42 thorpej Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -111,7 +111,7 @@ static void uvmpd_tune __P((void));
void
uvm_wait(wmsg)
- char *wmsg;
+ const char *wmsg;
{
int timo = 0;
int s = splbio();
diff --git a/sys/uvm/uvm_pdaemon.h b/sys/uvm/uvm_pdaemon.h
index 93992f53450..34bb311c85a 100644
--- a/sys/uvm/uvm_pdaemon.h
+++ b/sys/uvm/uvm_pdaemon.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: uvm_pdaemon.h,v 1.6 2001/03/09 05:34:38 smart Exp $ */
-/* $NetBSD: uvm_pdaemon.h,v 1.7 1999/06/21 17:25:12 thorpej Exp $ */
+/* $OpenBSD: uvm_pdaemon.h,v 1.7 2001/07/18 14:27:07 art Exp $ */
+/* $NetBSD: uvm_pdaemon.h,v 1.8 1999/11/04 21:51:42 thorpej Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -80,7 +80,7 @@
* prototypes
*/
-void uvm_wait __P((char *));
+void uvm_wait __P((const char *));
#endif /* _KERNEL */