xserver/hw/xfree86/common/xf86Module_priv.h
Enrico Weigelt, metux IT consult 00f69564c5 xfree86: common: unexport UnloadModule() and UnloadSubModule()
Not used by any driver/module, so no need to keep it exported.
Also making them type-safe.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1722>
2025-02-06 23:09:02 +00:00

22 lines
472 B
C

/* SPDX-License-Identifier: MIT OR X11
*
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
*/
#ifndef _XORG_XF86MODULE_PRIV_H
#define _XORG_XF86MODULE_PRIV_H
/*
* unload a previously loaded module
*
* @param mod the module to unload
*/
void UnloadModule(ModuleDescPtr mod);
/*
* unload a previously loaded sun-module
*
* @param mod the sub-module to unload
*/
void UnloadSubModule(ModuleDescPtr mod);
#endif /* _XORG_XF86MODULE_PRIV_H */