Build fix for Grsecurity (e.g. Gentoo-Hardened)

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4724 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2013-01-07 15:29:21 +00:00
parent 82fcc41287
commit c3910d8367

View File

@@ -70,7 +70,12 @@ struct sgv_pool_alloc_fns {
void *priv);
void (*free_pages_fn)(struct scatterlist *sg, int sg_count,
void *priv);
};
}
#ifdef CONSTIFY_PLUGIN
/* Avoid that the Grsecurity gcc constify_plugin constifies this structure. */
__attribute__((no_const))
#endif
;
/*
* SGV pool