From c6c9d7a69dea26e04bba7010582e7bcd612e710c Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 23 Jun 2009 00:27:28 +0200 Subject: Use static inline where appropriate. * console-client/timer.h (fetch_jiffies): Use static inline instead of extern inline. * ext2fs/ext2fs.h (test_bit, set_bit, clear_bit, dino, global_block_modified) (record_global_poke, sync_global_ptr, record_indir_poke, sync_global) (alloc_sync): Likewise. * libftpconn/priv.h (unexpected_reply): Likewise. * term/term.h (qsize, qavail, clear_queue, dequeue_quote, dequeue) (enqueue_internal, enqueue, enqueue_quote, unquote_char, char_quoted_p) (queue_erase): Likewise. * ufs/ufs.h (dino, indir_block, cg_locate, sync_disk_blocks, sync_dinode) (swab_short, swab_long, swab_long_long): Likewise. * term/munge.c (poutput): Use static inline instead of inline. --- console-client/timer.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'console-client/timer.h') diff --git a/console-client/timer.h b/console-client/timer.h index 4204192e..5e64e97b 100644 --- a/console-client/timer.h +++ b/console-client/timer.h @@ -1,5 +1,7 @@ /* timer.h - Interface to a timer module for Mach. - Copyright (C) 1995,96,2000,02 Free Software Foundation, Inc. + + Copyright (C) 1995, 1996, 2000, 2002, 2009 Free Software Foundation, Inc. + Written by Michael I. Bushnell, p/BSG and Marcus Brinkmann. This file is part of the GNU Hurd. @@ -54,7 +56,7 @@ int timer_remove (struct timer_list *timer); /* Change the expiration time of the timer TIMER to EXPIRES. */ void timer_change (struct timer_list *timer, long long expires); -extern inline long long +static inline long long fetch_jiffies () { extern volatile struct mapped_time_value *timer_mapped_time; -- cgit v1.2.3