From ea5f512fe8177afe9c8239915eb3bbabf9cd1d4a Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 25 Sep 2009 14:55:32 +0000 Subject: 2009-09-25 Joel Sherrill * shared/include/pci.h: Change extern inline to static inline. --- c/src/lib/libbsp/sparc/ChangeLog | 4 ++++ c/src/lib/libbsp/sparc/shared/include/pci.h | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'c') diff --git a/c/src/lib/libbsp/sparc/ChangeLog b/c/src/lib/libbsp/sparc/ChangeLog index 759d9d2092..e21556bf76 100644 --- a/c/src/lib/libbsp/sparc/ChangeLog +++ b/c/src/lib/libbsp/sparc/ChangeLog @@ -1,3 +1,7 @@ +2009-09-25 Joel Sherrill + + * shared/include/pci.h: Change extern inline to static inline. + 2009-08-28 Joel Sherrill * shared/start.S: Fix comment. diff --git a/c/src/lib/libbsp/sparc/shared/include/pci.h b/c/src/lib/libbsp/sparc/shared/include/pci.h index 67ed88d6ee..ab3e137952 100644 --- a/c/src/lib/libbsp/sparc/shared/include/pci.h +++ b/c/src/lib/libbsp/sparc/shared/include/pci.h @@ -1115,37 +1115,37 @@ typedef struct { extern pci_config BSP_pci_configuration; -extern inline int +static inline int pci_read_config_byte(unsigned char bus, unsigned char slot, unsigned char function, unsigned char where, unsigned char * val) { return BSP_pci_configuration.pci_functions->read_config_byte(bus, slot, function, where, val); } -extern inline int +static inline int pci_read_config_word(unsigned char bus, unsigned char slot, unsigned char function, unsigned char where, unsigned short * val) { return BSP_pci_configuration.pci_functions->read_config_word(bus, slot, function, where, val); } -extern inline int +static inline int pci_read_config_dword(unsigned char bus, unsigned char slot, unsigned char function, unsigned char where, unsigned int * val) { return BSP_pci_configuration.pci_functions->read_config_dword(bus, slot, function, where, val); } -extern inline int +static inline int pci_write_config_byte(unsigned char bus, unsigned char slot, unsigned char function, unsigned char where, unsigned char val) { return BSP_pci_configuration.pci_functions->write_config_byte(bus, slot, function, where, val); } -extern inline int +static inline int pci_write_config_word(unsigned char bus, unsigned char slot, unsigned char function, unsigned char where, unsigned short val) { return BSP_pci_configuration.pci_functions->write_config_word(bus, slot, function, where, val); } -extern inline int +static inline int pci_write_config_dword(unsigned char bus, unsigned char slot, unsigned char function, unsigned char where, unsigned int val) { return BSP_pci_configuration.pci_functions->write_config_dword(bus, slot, function, where, val); -- cgit v1.2.3