From b2db28d9596ee525c70dfc07ef1c274afca7f32d Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 6 Dec 2007 17:50:24 +0000 Subject: 2007-12-06 Ralf Corsepius * chain.c: Reflect removal of isr.h. * isr.h: Remove. * Makefile.am: Remove isr.h. --- doc/tools/bmenu/ChangeLog | 6 ++++++ doc/tools/bmenu/Makefile.am | 2 +- doc/tools/bmenu/chain.c | 16 ---------------- doc/tools/bmenu/isr.h | 18 ------------------ 4 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 doc/tools/bmenu/isr.h (limited to 'doc/tools') diff --git a/doc/tools/bmenu/ChangeLog b/doc/tools/bmenu/ChangeLog index 9ef8bbc269..3fe72b7654 100644 --- a/doc/tools/bmenu/ChangeLog +++ b/doc/tools/bmenu/ChangeLog @@ -1,3 +1,9 @@ +2007-12-06 Ralf Corsepius + + * chain.c: Reflect removal of isr.h. + * isr.h: Remove. + * Makefile.am: Remove isr.h. + 2003-12-12 Ralf Corsepius * Makefile.am: Cosmetics. diff --git a/doc/tools/bmenu/Makefile.am b/doc/tools/bmenu/Makefile.am index 3f53ef1e57..272230bd28 100644 --- a/doc/tools/bmenu/Makefile.am +++ b/doc/tools/bmenu/Makefile.am @@ -8,5 +8,5 @@ noinst_PROGRAMS = bmenu2 -bmenu2_SOURCES = address.h chain.c isr.h address.inl chain.h bmenu2.c base.h \ +bmenu2_SOURCES = address.h chain.c address.inl chain.h bmenu2.c base.h \ chain.inl system.h diff --git a/doc/tools/bmenu/chain.c b/doc/tools/bmenu/chain.c index 7047b42d56..847f23b670 100644 --- a/doc/tools/bmenu/chain.c +++ b/doc/tools/bmenu/chain.c @@ -11,7 +11,6 @@ #include "system.h" #include "address.h" #include "chain.h" -#include "isr.h" /*PAGE * @@ -76,14 +75,11 @@ Chain_Node *_Chain_Get( Chain_Control *the_chain ) { - ISR_Level level; Chain_Node *return_node; return_node = NULL; - _ISR_Disable( level ); if ( !_Chain_Is_empty( the_chain ) ) return_node = _Chain_Get_first_unprotected( the_chain ); - _ISR_Enable( level ); return return_node; } @@ -108,11 +104,7 @@ void _Chain_Append( Chain_Node *node ) { - ISR_Level level; - - _ISR_Disable( level ); _Chain_Append_unprotected( the_chain, node ); - _ISR_Enable( level ); } /*PAGE @@ -134,11 +126,7 @@ void _Chain_Extract( Chain_Node *node ) { - ISR_Level level; - - _ISR_Disable( level ); _Chain_Extract_unprotected( node ); - _ISR_Enable( level ); } /*PAGE @@ -163,11 +151,7 @@ void _Chain_Insert( Chain_Node *node ) { - ISR_Level level; - - _ISR_Disable( level ); _Chain_Insert_unprotected( after_node, node ); - _ISR_Enable( level ); } /*PAGE diff --git a/doc/tools/bmenu/isr.h b/doc/tools/bmenu/isr.h deleted file mode 100644 index 33eaefb127..0000000000 --- a/doc/tools/bmenu/isr.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * COPYRIGHT (c) 1988-2002. - * On-Line Applications Research Corporation (OAR). - * All rights reserved. - * - * $Id$ - */ - - -#ifndef __ISR_h -#define __ISR_h - -typedef unsigned32 ISR_Level; - -#define _ISR_Disable -#define _ISR_Enable - -#endif -- cgit v1.2.3