Source-Changes-HG archive

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

[src/trunk]: src/common/lib/libc/cdb mark parameter as unused.



details:   https://anonhg.NetBSD.org/src/rev/15341edc1984
branches:  trunk
changeset: 350388:15341edc1984
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 10 23:06:06 2017 +0000

description:
mark parameter as unused.

diffstat:

 common/lib/libc/cdb/cdbr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 44f06d54c669 -r 15341edc1984 common/lib/libc/cdb/cdbr.c
--- a/common/lib/libc/cdb/cdbr.c        Tue Jan 10 22:37:44 2017 +0000
+++ b/common/lib/libc/cdb/cdbr.c        Tue Jan 10 23:06:06 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cdbr.c,v 1.1 2013/12/11 01:24:08 joerg Exp $   */
+/*     $NetBSD: cdbr.c,v 1.2 2017/01/10 23:06:06 christos Exp $        */
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -36,7 +36,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: cdbr.c,v 1.1 2013/12/11 01:24:08 joerg Exp $");
+__RCSID("$NetBSD: cdbr.c,v 1.2 2017/01/10 23:06:06 christos Exp $");
 
 #if !defined(_KERNEL) && !defined(_STANDALONE)
 #include "namespace.h"
@@ -156,7 +156,7 @@
 #endif
 
 struct cdbr *
-cdbr_open_mem(void *base, size_t size, int flags,
+cdbr_open_mem(void *base, size_t size, int flags __unused,
     void (*unmap)(void *, void *, size_t), void *cookie)
 {
        struct cdbr *cdbr;



Home | Main Index | Thread Index | Old Index