Clarify how to update SENSORS_API_VERSION

My understanding is that SENSORS_API_VERSION should be the same
as $(LIBMAINVER)$(LIBMINORVER) in lib/Module.mk. This means that
the first digit of SENSORS_API_VERSION needs to be incremented whenever
API *or* ABI changes, because we have to increment LIBMAINVER even if
only ABI changes to avoid program breakage.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
Ondřej Lysoněk committed 2018-11-23 17:23:56 +01:00
1 parent c56c90156d
commit f22b411652
1 file changed
+1 -1
+1 -1
View File
@@ -28,7 +28,7 @@
/* Publicly accessible library functions */
/* libsensors API version define, first digit is the major version (changed
when the API + ABI breaks), the third digit is incremented to track small
when the API or ABI breaks), the third digit is incremented to track small
API additions like new flags / enum values. The second digit is for tracking
larger additions like new methods. */
#define SENSORS_API_VERSION 0x440