From ae3564600219fb27e094805cc45991685d2e5504 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 14 Mar 2008 02:01:31 -0300 Subject: Add missing prototypes to XvMClibint.h This is done just to not generate compile warnings about functions without prototype, but at some time the comment in XvMC.c should be addressed: /****************************************************************** These are intended as a protocol interface to be used by direct rendering libraries. They are not intended to be client viewable functions. These will stay in place until we have a mechanism in place similar to that of OpenGL with an libXvMCcore library. *******************************************************************/ --- src/XvMClibint.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/src/XvMClibint.h b/src/XvMClibint.h index 1db3924..3bbd788 100644 --- a/src/XvMClibint.h +++ b/src/XvMClibint.h @@ -37,4 +37,46 @@ dpy->request++ #endif +_XFUNCPROTOBEGIN + +Status _xvmc_create_context( + Display * /* dpy */, + XvMCContext * /* context */, + int * /* priv_count */, + CARD32 ** /* priv_data */ +); + +Status _xvmc_destroy_context( + Display * /* dpy */, + XvMCContext * /* context */ +); + +Status _xvmc_create_surface ( + Display * /* dpy */, + XvMCContext * /* context */, + XvMCSurface * /* surface */, + int * /* priv_count */, + CARD32 ** /* priv_data */ +); + +Status _xvmc_destroy_surface ( + Display * /* dpy */, + XvMCSurface * /* surface */ +); + +Status _xvmc_create_subpicture ( + Display * /* dpy */, + XvMCContext * /* context */, + XvMCSubpicture * /* subpicture */, + int * /* priv_count */, + CARD32 ** /* priv_data */ +); + +Status _xvmc_destroy_subpicture( + Display * /* dpy */, + XvMCSubpicture * /* subpicture */ +); + +_XFUNCPROTOEND + #endif /* XVMCLIBINT_H */ -- cgit v1.2.3