From 7725863cdefb60a48bb00ad53de42663114c89f3 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 14 Mar 2008 02:01:31 -0300 Subject: [PATCH] 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 files changed, 42 insertions(+), 0 deletions(-) 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 */ -- 1.5.3.2