aboutsummaryrefslogtreecommitdiffstats
path: root/sysfs.h
diff options
context:
space:
mode:
authorPA4WDH2023-05-21 11:47:32 +0200
committerPA4WDH2023-05-21 11:47:32 +0200
commitb5468b4acaec3794b0a3082ffe1ef27bd9d8cca3 (patch)
tree9cc699da0cce883dbeeba3c48849f13b1436eda4 /sysfs.h
parentTidy up cpufreq.c (diff)
downloadcputemp2maxfreq-b5468b4acaec3794b0a3082ffe1ef27bd9d8cca3.tar.gz
cputemp2maxfreq-b5468b4acaec3794b0a3082ffe1ef27bd9d8cca3.tar.bz2
cputemp2maxfreq-b5468b4acaec3794b0a3082ffe1ef27bd9d8cca3.zip
Fix all .h files
Diffstat (limited to 'sysfs.h')
-rw-r--r--sysfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysfs.h b/sysfs.h
index ccd2430..3acecc9 100644
--- a/sysfs.h
+++ b/sysfs.h
@@ -1,3 +1,8 @@
+#ifndef HAVE_SYSFS_H
+#define HAVE_SYSFS_H
+
int sysfs_read_str(char *sysfs_file,char *buf,size_t bufsize);
long int sysfs_read_long_int(char *sysfs_file);
int sysfs_write_str(char *sysfs_file,char *value,int checkdelay);
+
+#endif