Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Cast result of pgo_put() to (void) as is the style w...



details:   https://anonhg.NetBSD.org/src/rev/26131c2fefa9
branches:  trunk
changeset: 543428:26131c2fefa9
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Feb 25 00:22:20 2003 +0000

description:
Cast result of pgo_put() to (void) as is the style with other calls to
pgo_put() in UVM.

Pointed out by Andrew Brown.

diffstat:

 sys/uvm/uvm_pdaemon.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6db4efc092f2 -r 26131c2fefa9 sys/uvm/uvm_pdaemon.c
--- a/sys/uvm/uvm_pdaemon.c     Mon Feb 24 23:23:14 2003 +0000
+++ b/sys/uvm/uvm_pdaemon.c     Tue Feb 25 00:22:20 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_pdaemon.c,v 1.49 2003/02/23 04:54:27 simonb Exp $  */
+/*     $NetBSD: uvm_pdaemon.c,v 1.50 2003/02/25 00:22:20 simonb Exp $  */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.49 2003/02/23 04:54:27 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pdaemon.c,v 1.50 2003/02/25 00:22:20 simonb Exp $");
 
 #include "opt_uvmhist.h"
 
@@ -531,7 +531,7 @@
 
                        if ((p->pqflags & PQ_SWAPBACKED) == 0) {
                                uvm_unlock_pageq();
-                               (uobj->pgops->pgo_put)(uobj, p->offset,
+                               (void) (uobj->pgops->pgo_put)(uobj, p->offset,
                                    p->offset + PAGE_SIZE,
                                    PGO_CLEANIT|PGO_FREE);
                                uvm_lock_pageq();



Home | Main Index | Thread Index | Old Index