~misterc/libva/Trunk

Viewing all changes in revision 947.

  • Committer: Xiang, Haihao
  • Author(s): Li Zhijian
  • Date: 2016-11-22 04:49:44 UTC
  • Revision ID: git-v1:598fb9ee175b237e2db737039c2714bc1a63b0e2
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: