mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-19 19:40:49 +00:00
Solved compile problems for g++ programs linked to libsensors
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@722 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
05415c3309
commit
8bf97bf1c5
3 files changed
+17
No files matched your search
@@ -29,6 +29,11 @@
|
||||
#define SENSORS_ERR_BUS_NAME 7 /* Can't parse bus name */
|
||||
#define SENSORS_ERR_PARSE 8 /* General parse error */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
/* This function returns a pointer to a string which describes the error.
|
||||
errnum may be negative (the corresponding positive error is returned).
|
||||
You may not modify the result! */
|
||||
@@ -46,5 +51,8 @@ extern void (*sensors_parse_error) (const char *err, int lineno);
|
||||
the program). Never let it return! */
|
||||
extern void (*sensors_fatal_error) (const char *proc, const char *err);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* def LIB_SENSORS_ERROR_H */
|
||||
Reference in new issue
Block a user