Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0b6aa3d0537104e86d80cde66192a0aa569e0bf4
Commit:     0b6aa3d0537104e86d80cde66192a0aa569e0bf4
Parent:     3e1dcb00d59473d52d4ca80a57408b3d953e4573
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Wed Apr 25 22:43:16 2007 -0700
Committer:  Stefan Richter <[EMAIL PROTECTED]>
CommitDate: Fri Apr 27 01:39:03 2007 +0200

    firewire: don't use extern on public symbols
    
    Make firewire entry points not 'extern':
    
    drivers/firewire/fw-device.c:160:25: warning: function 'fw_device_get' with 
external linkage has definition
    drivers/firewire/fw-device.c:167:13: warning: function 'fw_device_put' with 
external linkage has definition
    
    Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
    Signed-off-by: Stefan Richter <[EMAIL PROTECTED]>
---
 drivers/firewire/fw-device.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/firewire/fw-device.c b/drivers/firewire/fw-device.c
index 3841086..99d1c41 100644
--- a/drivers/firewire/fw-device.c
+++ b/drivers/firewire/fw-device.c
@@ -157,14 +157,14 @@ struct bus_type fw_bus_type = {
 };
 EXPORT_SYMBOL(fw_bus_type);
 
-extern struct fw_device *fw_device_get(struct fw_device *device)
+struct fw_device *fw_device_get(struct fw_device *device)
 {
        get_device(&device->device);
 
        return device;
 }
 
-extern void fw_device_put(struct fw_device *device)
+void fw_device_put(struct fw_device *device)
 {
        put_device(&device->device);
 }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to