diff options
author | Li Zhijian <zhijianx.li@intel.com> | 2016-11-22 12:44:05 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2016-11-22 12:49:44 +0800 |
commit | 598fb9ee175b237e2db737039c2714bc1a63b0e2 (patch) | |
tree | 656a186279bc3a7f7c84fc076b70c81384120947 | |
parent | d0c867c683671b60059175e74a46e00e7c115091 (diff) |
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>
-rw-r--r-- | va/va.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -291,7 +291,7 @@ const char *vaQueryVendorString ( VADisplay dpy ); -typedef int (*VAPrivFunc)(); +typedef int (*VAPrivFunc)(void); /** * Return a function pointer given a function name in the library. |