diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2009-04-28 00:49:31 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-20 18:21:15 -0400 |
commit | b0d428adebe9f1232c72bf4c686a6f0eed047cc2 (patch) | |
tree | 305b5212f0c117591a45ce045f14d8331c6a681b /drivers/scsi/libfc | |
parent | 73da9c13d4df3c1715029aa45edc78d71b617dfd (diff) |
[SCSI] fcoe, libfc: fix function declarations to be ANSI-compliant
Fix function declarations:
drivers/scsi/fcoe/fcoe.c:1356:28: warning: non-ANSI function declaration of function 'fcoe_dev_setup'
drivers/scsi/libfc/fc_rport.c:1293:20: warning: non-ANSI function declaration of function 'fc_setup_rport'
drivers/scsi/libfc/fc_rport.c:1302:23: warning: non-ANSI function declaration of function 'fc_destroy_rport'
[jejb: fixed wrong doc in comment noticed during inspection]
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r-- | drivers/scsi/libfc/fc_rport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 747d73c5c8af..3f5094ebc397 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c | |||
@@ -1330,7 +1330,7 @@ int fc_rport_init(struct fc_lport *lport) | |||
1330 | } | 1330 | } |
1331 | EXPORT_SYMBOL(fc_rport_init); | 1331 | EXPORT_SYMBOL(fc_rport_init); |
1332 | 1332 | ||
1333 | int fc_setup_rport() | 1333 | int fc_setup_rport(void) |
1334 | { | 1334 | { |
1335 | rport_event_queue = create_singlethread_workqueue("fc_rport_eq"); | 1335 | rport_event_queue = create_singlethread_workqueue("fc_rport_eq"); |
1336 | if (!rport_event_queue) | 1336 | if (!rport_event_queue) |
@@ -1339,7 +1339,7 @@ int fc_setup_rport() | |||
1339 | } | 1339 | } |
1340 | EXPORT_SYMBOL(fc_setup_rport); | 1340 | EXPORT_SYMBOL(fc_setup_rport); |
1341 | 1341 | ||
1342 | void fc_destroy_rport() | 1342 | void fc_destroy_rport(void) |
1343 | { | 1343 | { |
1344 | destroy_workqueue(rport_event_queue); | 1344 | destroy_workqueue(rport_event_queue); |
1345 | } | 1345 | } |