Commit 9d27eb0a authored by Emil Velikov's avatar Emil Velikov Committed by Aaron Plattner
Browse files

trace: properly annotate private functions as static



The following three were never a part of the public API and as such
should have never been exported by libvdpau_trace.so

Correct that by marking them as static, thus allowing the compiler
to hide them from the exported namespace.

_vdp_cap_init_planes_adapt_surface_video
_vdp_cap_init_planes_adapt_surface_bitmap
_vdp_cap_init_planes_adapt_surface_output
Signed-off-by: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: default avatarAaron Plattner <aplattner@nvidia.com>
Signed-off-by: default avatarAaron Plattner <aplattner@nvidia.com>
parent 6dd2fa1f
......@@ -849,7 +849,7 @@ static bool _vdp_cap_init_planes_adapt_format_bits_indexed(
);
}
bool _vdp_cap_init_planes_adapt_surface_video(
static bool _vdp_cap_init_planes_adapt_surface_video(
uint32_t surface,
uint32_t * surface_format,
uint32_t * width,
......@@ -874,7 +874,7 @@ bool _vdp_cap_init_planes_adapt_surface_video(
return true;
}
bool _vdp_cap_init_planes_adapt_surface_output(
static bool _vdp_cap_init_planes_adapt_surface_output(
uint32_t surface,
uint32_t * surface_format,
uint32_t * width,
......@@ -899,7 +899,7 @@ bool _vdp_cap_init_planes_adapt_surface_output(
return true;
}
bool _vdp_cap_init_planes_adapt_surface_bitmap(
static bool _vdp_cap_init_planes_adapt_surface_bitmap(
uint32_t surface,
uint32_t * surface_format,
uint32_t * width,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment