summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Lysoněk <olysonek@redhat.com>2018-11-23 17:09:54 +0100
committerOndřej Lysoněk <olysonek@redhat.com>2018-11-23 17:23:56 +0100
commitf22b4116526835691677ff739e9ca814d8a2ec2e (patch)
treecb345c456e25b4a10e11086f68ac41bc9b27fceb
parentc56c90156d336cce64111aa825a7e2c673ad1988 (diff)
downloadlm-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.h2
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