]> The Tcpdump Group git mirrors - tcpdump/commit
Fix a warning as "ISO C90 forbids mixed declarations and code"
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 18 Aug 2015 18:59:31 +0000 (20:59 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 18 Aug 2015 18:59:31 +0000 (20:59 +0200)
commite64eab6f72b4e2f3b77b17a679805c519647ecbe
tree7a3571428c05c3918592df053413d375834819fe
parent8a8ab5dcaa7ab03e19a15e9cb2eafd6404e2d6ef
Fix a warning as "ISO C90 forbids mixed declarations and code"

The warning was:
./tcpdump.c: In function 'droproot':
./tcpdump.c:496:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
   int ret = capng_change_id(pw->pw_uid, pw->pw_gid, CAPNG_NO_FLAG);
   ^
tcpdump.c