(submit/cleanup-api-xfree86) xfree86: common: move private defs out of xf86sbusBus.h
public server module API headers shouldn't be clobbered with non-exported definitions, so move them out to private header file. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
3863a05f54
commit
d2847b613e
|
@ -104,8 +104,4 @@ extern _X_EXPORT char *sparcPromNode2Pathname(sbusPromNodePtr pnode);
|
|||
extern _X_EXPORT int sparcPromPathname2Node(const char *pathName);
|
||||
extern _X_EXPORT char *sparcDriverName(void);
|
||||
|
||||
extern Bool xf86SbusConfigure(void *busData, sbusDevicePtr sBus);
|
||||
extern void xf86SbusConfigureNewDev(void *busData, sbusDevicePtr sBus,
|
||||
GDevRec * GDev);
|
||||
|
||||
#endif /* _XF86_SBUSBUS_H */
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
/* SPDX-License-Identifier: MIT OR X11
|
||||
*
|
||||
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
||||
* Copyright © 2000 Jakub Jelinek (jakub@redhat.com)
|
||||
*/
|
||||
#ifndef _XSERVER_XF86_SBUSBUS_H
|
||||
#define _XSERVER_XF86_SBUSBUS_H
|
||||
|
||||
#include <X11/Xdefs.h>
|
||||
|
||||
#include "xf86sbusBus.h"
|
||||
|
||||
Bool xf86SbusConfigure(void *busData, sbusDevicePtr sBus);
|
||||
void xf86SbusConfigureNewDev(void *busData, sbusDevicePtr sBus, GDevRec* GDev);
|
||||
|
||||
#endif /* _XSERVER_XF86_SBUSBUS_H */
|
Loading…
Reference in New Issue