]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
block: remove extern on function definition
authorHarvey Harrison <harvey.harrison@gmail.com>
Tue, 4 Mar 2008 10:30:18 +0000 (11:30 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 4 Mar 2008 10:30:18 +0000 (11:30 +0100)
Intoduced between 2.6.25-rc2 and -rc3
block/blk-settings.c:319:12: warning: function 'blk_queue_dma_drain' with external linkage has definition

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-settings.c

index 18fab5193d8136a6a30c4a57a645f1acfbb096e6..1344a0ea5cc6c00a89ef9536cbbfda7183d2b28b 100644 (file)
@@ -332,7 +332,7 @@ EXPORT_SYMBOL(blk_queue_dma_pad);
  * device can support otherwise there won't be room for the drain
  * buffer.
  */
-extern int blk_queue_dma_drain(struct request_queue *q,
+int blk_queue_dma_drain(struct request_queue *q,
                               dma_drain_needed_fn *dma_drain_needed,
                               void *buf, unsigned int size)
 {