From 49e8bb1aead6a97408b0d17d0286de8724cdf097 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 11 Dec 2010 11:14:11 +0000 Subject: [PATCH] Fixed a <=2.6.29 compiler warning. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3020 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index 85a45ad87..e9d9ec49d 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -4029,8 +4029,8 @@ char *scst_get_next_token_str(char **input_str); void scst_init_threads(struct scst_cmd_threads *cmd_threads); void scst_deinit_threads(struct scst_cmd_threads *cmd_threads); -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)) && defined(SCSI_EXEC_REQ_FIFO_DEFINED) void scst_pass_through_cmd_done(void *data, char *sense, int result, int resid); +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30)) && defined(SCSI_EXEC_REQ_FIFO_DEFINED) int scst_scsi_exec_async(struct scst_cmd *cmd, void *data, void (*done)(void *data, char *sense, int result, int resid)); #endif