mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user