Patch from Smadar Gonen <smadar.gn@gmail.com> fixing compilation on CentOS 5.2

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2009-04-02 18:24:18 +00:00
parent 33e1e13494
commit 34958faa23
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ SRCS_ADM = iscsi_adm.c param.c
OBJS_ADM = $(SRCS_ADM:.c=.o)
CFLAGS += -O2 -fno-inline -Wall -Wextra -Wstrict-prototypes -Wno-sign-compare \
-Werror=implicit-function-declaration -Wno-unused-parameter \
-Wimplicit-function-declaration -Wno-unused-parameter \
-Wno-missing-field-initializers -g -I../include
CFLAGS += -D_GNU_SOURCE # required for glibc >= 2.8
+3
View File
@@ -17,6 +17,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __SCST_SGV_H
#define __SCST_SGV_H
/* SGV pool routines and flag bits */
@@ -67,3 +69,4 @@ void sgv_pool_free(struct sgv_pool_obj *sgv, struct scst_mem_lim *mem_lim);
void *sgv_get_priv(struct sgv_pool_obj *sgv);
void scst_init_mem_lim(struct scst_mem_lim *mem_lim);
#endif /* ifndef __SCST_SGV_H */