summaryrefslogtreecommitdiff
path: root/hw/xfree86/common/xf86.h
diff options
context:
space:
mode:
authorTiago Vignatti <tiago.vignatti@nokia.com>2009-08-19 18:20:54 +0300
committerTiago Vignatti <tiago.vignatti@nokia.com>2009-08-20 13:57:45 +0300
commit792dee3854cbede64e17fdc4736831edad295706 (patch)
tree9b42e8e8fe43580eede20fc9238ebf0b9a380216 /hw/xfree86/common/xf86.h
parenteb031d4013d36f6aef4aba45840762ae8635cc13 (diff)
xfree86: remove bus state change notification callback
No one is using bus notifications now. We hope that the kernel take care of this properly. For other not-so-urgent-notifications (ACPI wakeups, etc) we can just register a handler on server's scheduler (using xf86AddGeneralHandler). And for external applications, the "trend" is to use HAL to kick notifications. So we're already provided of enough notification schemes. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'hw/xfree86/common/xf86.h')
-rw-r--r--hw/xfree86/common/xf86.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h
index 51c91a21f..c59d4b110 100644
--- a/hw/xfree86/common/xf86.h
+++ b/hw/xfree86/common/xf86.h
@@ -123,8 +123,6 @@ extern _X_EXPORT Bool xf86CheckPciMemBase(struct pci_device * pPci, memType base
extern _X_EXPORT Bool xf86IsEntityPrimary(int entityIndex);
extern _X_EXPORT void xf86EnterServerState(xf86State state);
extern _X_EXPORT ScrnInfoPtr xf86FindScreenForEntity(int entityIndex);
-extern _X_EXPORT void xf86RegisterStateChangeNotificationCallback(xf86StateChangeNotificationCallbackFunc func, pointer arg);
-extern _X_EXPORT Bool xf86DeregisterStateChangeNotificationCallback(xf86StateChangeNotificationCallbackFunc func);
extern _X_EXPORT int xf86GetLastScrnFlag(int entityIndex);
extern _X_EXPORT void xf86SetLastScrnFlag(int entityIndex, int scrnIndex);