svn commit: r339764 - head/sys/sys

Warner Losh imp at FreeBSD.org
Fri Oct 26 04:11:58 UTC 2018


Author: imp
Date: Fri Oct 26 04:11:58 2018
New Revision: 339764
URL: https://svnweb.freebsd.org/changeset/base/339764

Log:
  Add warning to sys/joystick.h announcing its planned demise.

Modified:
  head/sys/sys/joystick.h

Modified: head/sys/sys/joystick.h
==============================================================================
--- head/sys/sys/joystick.h	Fri Oct 26 04:10:32 2018	(r339763)
+++ head/sys/sys/joystick.h	Fri Oct 26 04:11:58 2018	(r339764)
@@ -49,4 +49,6 @@ struct joystick {
 #define JOY_GET_X_OFFSET  _IOR('J', 5, int)    /* get offset on X-axis */
 #define JOY_GET_Y_OFFSET  _IOR('J', 6, int)    /* get offset on Y-axis */
 
+#warning "This interface is for obsolete hardware and will be removed in FreeBSD 13"
+
 #endif /* !_SYS_JOYSTICK_H_ */


More information about the svn-src-head mailing list