]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a warning spotted by gcc4.9: dereferencing type-punned pointer will break
authoraraujo <araujo@FreeBSD.org>
Thu, 16 Jul 2015 02:34:22 +0000 (02:34 +0000)
committeraraujo <araujo@FreeBSD.org>
Thu, 16 Jul 2015 02:34:22 +0000 (02:34 +0000)
commited4d6dbea261a4dc66b41c906a7fd91fc2332e4f
tree4868ecafa1bb258d4cd17852acd9b0c471d797f9
parent51a129b0cfe7f049e6f5b2d2d4062b1334af4a32
Fix a warning spotted by gcc4.9: dereferencing type-punned pointer will break
strict-aliasing rules.

Declare some variables as statics as well as some functions that are internal
helpers. Update the function broadcast_result() to a post-K&R definition.

Differential Revision: D2690
Reviewed by: rodrigc, dim
usr.sbin/ypbind/ypbind.c