mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-25 20:28:21 +00:00
Add some more warning flags, and fix these warnings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4545 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
c7c77845d2
commit
b79274babd
13 files changed
+52
-42
No files matched your search
@@ -36,4 +36,6 @@ extern void sensors_add_array_els(const void *els, int nr_els, void *list,
|
||||
/* Strip a string of all terminating spaces */
|
||||
extern void sensors_strip_of_spaces(char *name);
|
||||
|
||||
#define ARRAY_SIZE(arr) (int)(sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
#endif /* LIB_SENSORS_GENERAL */
|
||||
Reference in new issue
Block a user