Skip to content

Commit de6c485

Browse files
committed
[PR #1431] config: unexport config_init() and config_fini()
PR: #1431
1 parent 064e5f2 commit de6c485

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

config/hotplug_priv.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131

3232
#include <X11/Xfuncproto.h>
3333

34-
#include "hotplug.h"
3534
#include "list.h"
3635

3736
/* Bump this each time you add something to the struct
@@ -84,4 +83,7 @@ xf86_find_platform_device_by_devnum(unsigned int major, unsigned int minor);
8483

8584
void config_pre_init(void);
8685

86+
void config_init(void);
87+
void config_fini(void);
88+
8789
#endif /* _XSERVER_HOTPLUG_PRIV_H */

hw/kdrive/src/kinput.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
#include "optionstr.h"
5656

5757
#if defined(CONFIG_UDEV) || defined(CONFIG_HAL)
58-
#include "hotplug.h"
58+
#include "config/hotplug_priv.h"
5959
#endif
6060

6161
#ifdef KDRIVE_EVDEV

hw/xfree86/os-support/xf86_os_support.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ typedef struct {
5252
void xf86OSInitVidMem(VidMemInfoPtr);
5353

5454
#ifdef XSERVER_PLATFORM_BUS
55-
#include "hotplug.h"
56-
5755
struct OdevAttributes;
5856

5957
void

include/hotplug.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,4 @@
2626
#ifndef HOTPLUG_H
2727
#define HOTPLUG_H
2828

29-
#include <X11/Xfuncproto.h>
30-
31-
extern _X_EXPORT void config_init(void);
32-
extern _X_EXPORT void config_fini(void);
33-
3429
#endif /* HOTPLUG_H */

0 commit comments

Comments
 (0)