diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 14:02:59 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-17 12:21:17 -0400 |
commit | f39d5b72913e2a9ff00ba5ab145ee05a888b1286 (patch) | |
tree | bf037ca60a3724a7636166093b4b2ede4aeaf464 /drivers/pci/hotplug/acpiphp.h | |
parent | 9fc9eea09f518b9bbdc0a14ef668698c913ba614 (diff) |
PCI: Remove "extern" from function declarations
We had an inconsistent mix of using and omitting the "extern" keyword
on function declarations in header files. This removes them all.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/acpiphp.h')
-rw-r--r-- | drivers/pci/hotplug/acpiphp.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/pci/hotplug/acpiphp.h b/drivers/pci/hotplug/acpiphp.h index b70ac00a117e..9daddf4b9576 100644 --- a/drivers/pci/hotplug/acpiphp.h +++ b/drivers/pci/hotplug/acpiphp.h | |||
@@ -174,23 +174,23 @@ struct acpiphp_attention_info | |||
174 | /* function prototypes */ | 174 | /* function prototypes */ |
175 | 175 | ||
176 | /* acpiphp_core.c */ | 176 | /* acpiphp_core.c */ |
177 | extern int acpiphp_register_attention(struct acpiphp_attention_info*info); | 177 | int acpiphp_register_attention(struct acpiphp_attention_info*info); |
178 | extern int acpiphp_unregister_attention(struct acpiphp_attention_info *info); | 178 | int acpiphp_unregister_attention(struct acpiphp_attention_info *info); |
179 | extern int acpiphp_register_hotplug_slot(struct acpiphp_slot *slot); | 179 | int acpiphp_register_hotplug_slot(struct acpiphp_slot *slot); |
180 | extern void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *slot); | 180 | void acpiphp_unregister_hotplug_slot(struct acpiphp_slot *slot); |
181 | 181 | ||
182 | /* acpiphp_glue.c */ | 182 | /* acpiphp_glue.c */ |
183 | extern int acpiphp_glue_init (void); | 183 | int acpiphp_glue_init(void); |
184 | extern void acpiphp_glue_exit (void); | 184 | void acpiphp_glue_exit(void); |
185 | typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data); | 185 | typedef int (*acpiphp_callback)(struct acpiphp_slot *slot, void *data); |
186 | 186 | ||
187 | extern int acpiphp_enable_slot (struct acpiphp_slot *slot); | 187 | int acpiphp_enable_slot(struct acpiphp_slot *slot); |
188 | extern int acpiphp_disable_slot (struct acpiphp_slot *slot); | 188 | int acpiphp_disable_slot(struct acpiphp_slot *slot); |
189 | extern int acpiphp_eject_slot (struct acpiphp_slot *slot); | 189 | int acpiphp_eject_slot(struct acpiphp_slot *slot); |
190 | extern u8 acpiphp_get_power_status (struct acpiphp_slot *slot); | 190 | u8 acpiphp_get_power_status(struct acpiphp_slot *slot); |
191 | extern u8 acpiphp_get_attention_status (struct acpiphp_slot *slot); | 191 | u8 acpiphp_get_attention_status(struct acpiphp_slot *slot); |
192 | extern u8 acpiphp_get_latch_status (struct acpiphp_slot *slot); | 192 | u8 acpiphp_get_latch_status(struct acpiphp_slot *slot); |
193 | extern u8 acpiphp_get_adapter_status (struct acpiphp_slot *slot); | 193 | u8 acpiphp_get_adapter_status(struct acpiphp_slot *slot); |
194 | 194 | ||
195 | /* variables */ | 195 | /* variables */ |
196 | extern bool acpiphp_debug; | 196 | extern bool acpiphp_debug; |