Xephyr: delete unused hostx_get_extension_info function
v2: Also remove the prototype (anholt) Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net> (v1) Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
d72c11b9df
commit
8543d3fdfd
|
@ -1157,21 +1157,6 @@ hostx_get_window_attributes(int a_window, EphyrHostWindowAttributes * a_attrs)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
hostx_get_extension_info(const char *a_ext_name,
|
|
||||||
int *a_major_opcode,
|
|
||||||
int *a_first_event, int *a_first_error)
|
|
||||||
{
|
|
||||||
if (!a_ext_name || !a_major_opcode || !a_first_event || !a_first_error)
|
|
||||||
return 0;
|
|
||||||
if (!XQueryExtension(HostX.dpy,
|
|
||||||
a_ext_name,
|
|
||||||
a_major_opcode, a_first_event, a_first_error)) {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
hostx_get_visuals_info(EphyrHostVisualInfo ** a_visuals, int *a_num_entries)
|
hostx_get_visuals_info(EphyrHostVisualInfo ** a_visuals, int *a_num_entries)
|
||||||
{
|
{
|
||||||
|
|
|
@ -219,11 +219,6 @@ int
|
||||||
int
|
int
|
||||||
hostx_get_window_attributes(int a_window, EphyrHostWindowAttributes * a_attr);
|
hostx_get_window_attributes(int a_window, EphyrHostWindowAttributes * a_attr);
|
||||||
|
|
||||||
int
|
|
||||||
|
|
||||||
hostx_get_extension_info(const char *a_ext_name,
|
|
||||||
int *a_major_opcode,
|
|
||||||
int *a_first_even, int *a_first_error);
|
|
||||||
int
|
int
|
||||||
hostx_get_visuals_info(EphyrHostVisualInfo ** a_visuals, int *a_num_entries);
|
hostx_get_visuals_info(EphyrHostVisualInfo ** a_visuals, int *a_num_entries);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue