Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected
@@ -730,11 +730,11 @@
{SADB_X_IDENTTYPE_ADDR_RANGE, "ipv4-range"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "ipv6-range"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "rangev4"},
{SADB_X_IDENTTYPE_ADDR_RANGE, "rangev6"},
{SADB_X_IDENTTYPE_KEY_ID, "keyid"},
- {NULL, 0}
+ {0, NULL}
};
static int
parse_idtype(char *type, uint16_t *idnum)
{
@@ -898,11 +898,11 @@
{PSFLD_LOCIDTYPE, "localidtype"},
{PSFLD_REMID, "remoteid"},
{PSFLD_REMIDTYPE, "remoteidtype"},
{PSFLD_MODE, "ike_mode"},
{PSFLD_KEY, "key"},
- {NULL, 0}
+ {0, NULL}
};
static int
parse_psfldid(char *type, uint16_t *idnum)
{
@@ -924,11 +924,11 @@
static keywdtab_t ikemodes[] = {
{IKE_XCHG_IDENTITY_PROTECT, "main"},
{IKE_XCHG_AGGRESSIVE, "aggressive"},
{IKE_XCHG_IP_AND_AGGR, "both"},
- {NULL, 0}
+ {0, NULL}
};
static int
parse_ikmtype(char *mode, uint16_t *modenum)
{
@@ -3343,11 +3343,11 @@
case IKE_SVC_DUMP_GROUPS:
case IKE_SVC_DUMP_ENCRALGS:
case IKE_SVC_DUMP_AUTHALGS:
case IKE_SVC_DUMP_PS:
case IKE_SVC_DUMP_CERTCACHE:
- if (argc != NULL) {
+ if (argc != 0) {
print_dump_help();
break;
}
do_dump(cmd);
break;