mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-25 12:14:33 +00:00
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:
1 parent
c56c90156d
commit
f22b411652
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user