#defing out compress algs to avoid compiler warning

This commit is contained in:
Martin Willi
2008-11-11 18:35:10 +00:00
parent d94cadd69a
commit 3d2dbebd70
2 changed files with 6 additions and 2 deletions
@@ -812,8 +812,9 @@ static kernel_algorithm_t integrity_algs[] = {
{END_OF_LIST, 0, }, {END_OF_LIST, 0, },
}; };
#if 0
/** /**
* Algorithms for IPComp * Algorithms for IPComp, unused yet
*/ */
static kernel_algorithm_t compression_algs[] = { static kernel_algorithm_t compression_algs[] = {
/* {IPCOMP_OUI, 0 }, */ /* {IPCOMP_OUI, 0 }, */
@@ -822,6 +823,7 @@ static kernel_algorithm_t compression_algs[] = {
/* {IPCOMP_LZJH, 0 }, */ /* {IPCOMP_LZJH, 0 }, */
{END_OF_LIST, 0 }, {END_OF_LIST, 0 },
}; };
#endif
/** /**
* Look up a kernel algorithm ID and its key size * Look up a kernel algorithm ID and its key size
@@ -492,8 +492,9 @@ static kernel_algorithm_t integrity_algs[] = {
{END_OF_LIST, 0, }, {END_OF_LIST, 0, },
}; };
#if 0
/** /**
* Algorithms for IPComp * Algorithms for IPComp, unused yet
*/ */
static kernel_algorithm_t compression_algs[] = { static kernel_algorithm_t compression_algs[] = {
/* {IPCOMP_OUI, 0 }, */ /* {IPCOMP_OUI, 0 }, */
@@ -502,6 +503,7 @@ static kernel_algorithm_t compression_algs[] = {
{IPCOMP_LZJH, SADB_X_CALG_LZJH }, {IPCOMP_LZJH, SADB_X_CALG_LZJH },
{END_OF_LIST, 0 }, {END_OF_LIST, 0 },
}; };
#endif
/** /**
* Look up a kernel algorithm ID and its key size * Look up a kernel algorithm ID and its key size