mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-24 20:21:43 +00:00
Make include guards consistent in libsensors
Signed-off-by: David Frey <dpfrey@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
1 parent
3954f1035c
commit
7035d7bec4
5 files changed
+9
-9
No files matched your search
+1
-1
@@ -31,4 +31,4 @@ extern FILE *sensors_yyin;
|
||||
/* This is defined in conf-parse.y */
|
||||
int sensors_yyparse(void);
|
||||
|
||||
#endif /* LIB_SENSORS_CONF_H */
|
||||
#endif /* def LIB_SENSORS_CONF_H */
|
||||
+3
-3
@@ -18,8 +18,8 @@
|
||||
MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef LIB_SENSORS_GENERAL
|
||||
#define LIB_SENSORS_GENERAL
|
||||
#ifndef LIB_SENSORS_GENERAL_H
|
||||
#define LIB_SENSORS_GENERAL_H
|
||||
|
||||
/* These are general purpose functions. They allow you to use variable-
|
||||
length arrays, which are extended automatically. A distinction is
|
||||
@@ -36,4 +36,4 @@ void sensors_add_array_els(const void *els, int nr_els, void *list,
|
||||
|
||||
#define ARRAY_SIZE(arr) (int)(sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
#endif /* LIB_SENSORS_GENERAL */
|
||||
#endif /* def LIB_SENSORS_GENERAL_H */
|
||||
+1
-1
@@ -24,5 +24,5 @@
|
||||
int sensors_scanner_init(FILE *input, const char *filename);
|
||||
void sensors_scanner_exit(void);
|
||||
|
||||
#endif
|
||||
#endif /* def LIB_SENSORS_SCANNER_H */
|
||||
|
||||
+1
-1
@@ -307,4 +307,4 @@ sensors_get_subfeature(const sensors_chip_name *name,
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* def LIB_SENSORS_ERROR_H */
|
||||
#endif /* def LIB_SENSORS_SENSORS_H */
|
||||
+3
-3
@@ -19,8 +19,8 @@
|
||||
MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef SENSORS_LIB_SYSFS_H
|
||||
#define SENSORS_LIB_SYSFS_H
|
||||
#ifndef LIB_SENSORS_SYSFS_H
|
||||
#define LIB_SENSORS_SYSFS_H
|
||||
|
||||
extern char sensors_sysfs_mount[];
|
||||
|
||||
@@ -40,4 +40,4 @@ int sensors_write_sysfs_attr(const sensors_chip_name *name,
|
||||
const sensors_subfeature *subfeature,
|
||||
double value);
|
||||
|
||||
#endif /* !SENSORS_LIB_SYSFS_H */
|
||||
#endif /* def LIB_SENSORS_SYSFS_H */
|
||||
Reference in new issue
Block a user