Date: Wed, 26 Nov 2008 01:50:02 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 153570 for review Message-ID: <200811260150.mAQ1o2qH072901@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153570 Change 153570 by zec@zec_tca51 on 2008/11/26 01:49:07 Mark arrays saorder_state_any and saorder_state_alive as const Suggested by: julian Affected files ... .. //depot/projects/vimage-commit2/src/sys/netipsec/key.c#18 edit Differences ... ==== //depot/projects/vimage-commit2/src/sys/netipsec/key.c#18 (text+ko) ==== @@ -189,11 +189,11 @@ static const u_int saorder_state_valid_prefer_new[] = { SADB_SASTATE_MATURE, SADB_SASTATE_DYING, }; -static u_int saorder_state_alive[] = { +static const u_int saorder_state_alive[] = { /* except DEAD */ SADB_SASTATE_MATURE, SADB_SASTATE_DYING, SADB_SASTATE_LARVAL }; -static u_int saorder_state_any[] = { +static const u_int saorder_state_any[] = { SADB_SASTATE_MATURE, SADB_SASTATE_DYING, SADB_SASTATE_LARVAL, SADB_SASTATE_DEAD };
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811260150.mAQ1o2qH072901>