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>
VADisplay dpy
);
-typedef int (*VAPrivFunc)();
+typedef int (*VAPrivFunc)(void);
/**
* Return a function pointer given a function name in the library.