From 6e6cf5ec0d5050697976185685111aa9b89be5d7 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 31 Mar 2001 23:06:45 +0000 Subject: 2001-03-29 Neal H Walfield * init.c: Do not initialize global variables to 0. * interrupt-notified-rpcs.c: Likewise. --- libports/init.c | 8 ++++---- libports/interrupt-notified-rpcs.c | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'libports') diff --git a/libports/init.c b/libports/init.c index 44c8bdd4..7d4d16fd 100644 --- a/libports/init.c +++ b/libports/init.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 2001 Free Software Foundation, Inc. Written by Michael I. Bushnell. This file is part of the GNU Hurd. @@ -23,6 +23,6 @@ struct mutex _ports_lock = MUTEX_INITIALIZER; struct condition _ports_block = CONDITION_INITIALIZER; -struct port_bucket *_ports_all_buckets = 0; -int _ports_total_rpcs = 0; -int _ports_flags = 0; +struct port_bucket *_ports_all_buckets; +int _ports_total_rpcs; +int _ports_flags; diff --git a/libports/interrupt-notified-rpcs.c b/libports/interrupt-notified-rpcs.c index 061d3d87..bdfef977 100644 --- a/libports/interrupt-notified-rpcs.c +++ b/libports/interrupt-notified-rpcs.c @@ -1,8 +1,8 @@ /* Handle interruping rpcs because of notification - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 2001 Free Software Foundation, Inc. - Written by Miles Bader + Written by Miles Bader This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -21,11 +21,11 @@ #include "ports.h" /* A linked list of ports for which notification has been requested. */ -struct ports_notify *_ports_notifications = 0; +struct ports_notify *_ports_notifications; /* Free lists for notify structures. */ -struct ports_notify *_ports_free_ports_notifies = 0; -struct rpc_notify *_ports_free_rpc_notifies = 0; +struct ports_notify *_ports_free_ports_notifies; +struct rpc_notify *_ports_free_rpc_notifies; /* Interrupt any rpcs on OBJECT that have requested such. */ void -- cgit v1.2.3