[ovs-git] [openvswitch/ovs] 343dc0: sparse: Avoid warnings compiling stream-ssl.c.
noreply at github.com
Thu May 18 22:20:03 UTC 2017
Author: Ben Pfaff <blp at ovn.org>
Date: 2017-05-18 (Thu, 18 May 2017)
sparse: Avoid warnings compiling stream-ssl.c.
This change avoids the following "sparse" warnings:
/usr/include/inttypes.h:105:10: warning: preprocessor token PRIu64 redefined
/usr/include/openssl/e_os2.h:275:12: this was the original definition
With this change, the build is again "sparse" clean.
I did not look into the details of this particular issue. However, the
upshot is that including <inttypes.h> before any OpenSSL header avoids the
warning and the opposite order provokes it.
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Darrell Ball <dlu998 at gmail.com>
More information about the git