diff options
author | Ondřej Lysoněk <olysonek@redhat.com> | 2018-11-23 17:09:54 +0100 |
---|---|---|
committer | Ondřej Lysoněk <olysonek@redhat.com> | 2018-11-23 17:23:56 +0100 |
commit | f22b4116526835691677ff739e9ca814d8a2ec2e (patch) | |
tree | cb345c456e25b4a10e11086f68ac41bc9b27fceb | |
parent | c56c90156d336cce64111aa825a7e2c673ad1988 (diff) | |
download | lm-sensors-git-f22b4116526835691677ff739e9ca814d8a2ec2e.tar.gz |
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>
-rw-r--r-- | lib/sensors.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sensors.h b/lib/sensors.h index e33c4ea0..bbe80dba 100644 --- a/lib/sensors.h +++ b/lib/sensors.h @@ -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 |