libfreeswan: Fixed compiler warning.

This commit is contained in:
Tobias Brunner 2011-11-09 19:20:10 +01:00
parent 4de8f280e1
commit 727fe0f99e
1 changed files with 2 additions and 3 deletions

View File

@ -40,12 +40,11 @@ char pfkey_v2_parse_c_version[] = "";
#define SENDERR(_x) do { error = -(_x); goto errlab; } while (0)
struct satype_tbl {
static struct {
uint8_t proto;
uint8_t satype;
char* name;
}
static satype_tbl[] = {
} satype_tbl[] = {
{ SA_ESP, SADB_SATYPE_ESP, "ESP" },
{ SA_AH, SADB_SATYPE_AH, "AH" },
{ SA_IPIP, SADB_X_SATYPE_IPIP, "IPIP" },