diff --git a/lib/conf.h b/lib/conf.h index b7ce4f7c..2efdb0ac 100644 --- a/lib/conf.h +++ b/lib/conf.h @@ -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 */ diff --git a/lib/general.h b/lib/general.h index a3971e02..5d03bd20 100644 --- a/lib/general.h +++ b/lib/general.h @@ -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 */ diff --git a/lib/scanner.h b/lib/scanner.h index 8cfe4270..4fb4c026 100644 --- a/lib/scanner.h +++ b/lib/scanner.h @@ -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 */ diff --git a/lib/sensors.h b/lib/sensors.h index ce55bf3f..ed2d9a80 100644 --- a/lib/sensors.h +++ b/lib/sensors.h @@ -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 */ diff --git a/lib/sysfs.h b/lib/sysfs.h index 2e1114e1..3f4d83a2 100644 --- a/lib/sysfs.h +++ b/lib/sysfs.h @@ -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 */