OSDN Git Service

va.h: fix compile warning
authorLi Zhijian <zhijianx.li@intel.com>
Tue, 22 Nov 2016 04:44:05 +0000 (12:44 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Tue, 22 Nov 2016 04:49:44 +0000 (12:49 +0800)
commit598fb9ee175b237e2db737039c2714bc1a63b0e2
tree656a186279bc3a7f7c84fc076b70c81384120947
parentd0c867c683671b60059175e74a46e00e7c115091
va.h: fix compile warning

If we specify compiling option with "-Werror=strict-prototypes", we
will get the following error:
va/va.h:294:1: error: function declaration isn't a prototype [-Werror=strict-prototypes]
typedef int (*VAPrivFunc)();

This patch declares the VAPrivFunc with parameter 'void', to make the
compiler happy.

Signed-off-by: Li Zhijian <zhijianx.li@intel.com>
va/va.h