git: sbin/hammer: Change *stat to *sp for gcc4
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Fri Oct 16 09:30:23 PDT 2015
commit ed913f04d2f3c61cbd08613aeff3a3056cbaf74c
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sat Oct 17 01:06:34 2015 +0900
sbin/hammer: Change *stat to *sp for gcc4
e9976f43 had compile time error with gcc4 (but not with gcc5).
misc.c: In function '_hammer_add_zone_stat':
misc.c:326:20: error: declaration of 'stat' shadows a global declaration [-Werror=shadow]
In file included from hammer.h:39:0,
from misc.c:37:
Spotted-by: swildner
Summary of changes:
sbin/hammer/misc.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ed913f04d2f3c61cbd08613aeff3a3056cbaf74c
--
DragonFly BSD source repository
More information about the Commits
mailing list