Skip to content

Commit

Permalink
interop_sw: move functions to static linkage
Browse files Browse the repository at this point in the history
Clean-up after previous patches, remove the now-unused header and
prevent module functions from being exposed.
  • Loading branch information
alexandre-janniaux authored and robUx4 committed Dec 14, 2022
1 parent cf67281 commit 93f4238
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 36 deletions.
7 changes: 3 additions & 4 deletions modules/video_output/opengl/interop_sw.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
# include "config.h"
#endif

#include "interop_sw.h"

#include <assert.h>
#include <limits.h>
#include <stdlib.h>
Expand All @@ -34,6 +32,7 @@
#include <vlc_opengl_interop.h>

#include "gl_util.h"
#include "interop.h"

#define PBO_DISPLAY_COUNT 2 /* Double buffering */
typedef struct
Expand Down Expand Up @@ -563,7 +562,7 @@ opengl_interop_init(struct vlc_gl_interop *interop, GLenum tex_target,
return interop_rgb_base_init(interop, tex_target, chroma);
}

void
static void
opengl_interop_generic_deinit(struct vlc_gl_interop *interop)
{
struct priv *priv = interop->priv;
Expand All @@ -573,7 +572,7 @@ opengl_interop_generic_deinit(struct vlc_gl_interop *interop)
free(priv);
}

int
static int
opengl_interop_generic_init(struct vlc_gl_interop *interop, bool allow_dr)
{

Expand Down
32 changes: 0 additions & 32 deletions modules/video_output/opengl/interop_sw.h

This file was deleted.

0 comments on commit 93f4238

Please sign in to comment.