summaryrefslogtreecommitdiff
path: root/console-client/timer.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2009-06-23 00:27:28 +0200
committerThomas Schwinge <tschwinge@gnu.org>2009-06-23 14:54:09 +0200
commitc6c9d7a69dea26e04bba7010582e7bcd612e710c (patch)
tree99d5d3aa08af80e5a94213377fd26e7ddd5e53b3 /console-client/timer.h
parent2772f5c6a6a51cf946fd95bf6ffe254273157a21 (diff)
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.
Diffstat (limited to 'console-client/timer.h')
-rw-r--r--console-client/timer.h6
1 files changed, 4 insertions, 2 deletions
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;