diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2016-01-02 00:17:56 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-01-02 00:21:19 +0100 |
commit | 23eed95fd74ff95cc5050d081b285431bdf2324d (patch) | |
tree | 9483dcb6b0a5740bb36a50665223f38b31eb4f1e /linux/src/drivers | |
parent | d449859ec8e33055036a5a7bb15bfe4f68282391 (diff) |
replace extern with static in some linux code
* linux/dev/include/linux/fs.h: Replace extern with static.
* linux/dev/include/linux/locks.h: Likewise.
* linux/dev/include/linux/mm.h: Likewise.
* linux/src/drivers/net/e2100.c: Likewise
* linux/src/include/asm-i386/termios.h: Likewise.
* linux/src/include/linux/interrupt.h: Likewise.
* linux/src/include/net/route.h: Likewise.
* linux/src/include/net/sock.h: Likewise.
Diffstat (limited to 'linux/src/drivers')
-rw-r--r-- | linux/src/drivers/net/e2100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/src/drivers/net/e2100.c b/linux/src/drivers/net/e2100.c index 537295a..be4185a 100644 --- a/linux/src/drivers/net/e2100.c +++ b/linux/src/drivers/net/e2100.c @@ -68,7 +68,7 @@ static int e21_probe_list[] = {0x300, 0x280, 0x380, 0x220, 0}; #define E21_SAPROM 0x10 /* Offset to station address data. */ #define E21_IO_EXTENT 0x20 -extern inline void mem_on(short port, volatile char *mem_base, +static inline void mem_on(short port, volatile char *mem_base, unsigned char start_page ) { /* This is a little weird: set the shared memory window by doing a @@ -78,7 +78,7 @@ extern inline void mem_on(short port, volatile char *mem_base, outb(E21_MEM_ON, port + E21_MEM_ENABLE + E21_MEM_ON); } -extern inline void mem_off(short port) +static inline void mem_off(short port) { inb(port + E21_MEM_ENABLE); outb(0x00, port + E21_MEM_ENABLE); |