Source-Changes-HG archive

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

[src/trunk]: src/sys/nfs appease gcc.



details:   https://anonhg.NetBSD.org/src/rev/685efd468a10
branches:  trunk
changeset: 750440:685efd468a10
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Dec 31 19:31:31 2009 +0000

description:
appease gcc.

diffstat:

 sys/nfs/nfs_socket.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 128f0a1aec75 -r 685efd468a10 sys/nfs/nfs_socket.c
--- a/sys/nfs/nfs_socket.c      Thu Dec 31 19:30:45 2009 +0000
+++ b/sys/nfs/nfs_socket.c      Thu Dec 31 19:31:31 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_socket.c,v 1.183 2009/12/06 18:00:15 dyoung Exp $  */
+/*     $NetBSD: nfs_socket.c,v 1.184 2009/12/31 19:31:31 christos Exp $        */
 
 /*
  * Copyright (c) 1989, 1991, 1993, 1995
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.183 2009/12/06 18:00:15 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_socket.c,v 1.184 2009/12/31 19:31:31 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "fs_nfs.h"
@@ -120,8 +120,8 @@
  * the nfs timer and reply error debugs every 10 seconds.
  */
 static const struct timeval nfs_err_interval = { 10, 0 };
-static struct timeval nfs_reply_last_err_time;
-static struct timeval nfs_timer_last_err_time;
+static struct timeval nfs_reply_last_err_time __attribute__((__used__));
+static struct timeval nfs_timer_last_err_time __attribute__((__used__));
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index