diff options
Diffstat (limited to 'src/plugins/fs/helper.c')
-rw-r--r-- | src/plugins/fs/helper.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/plugins/fs/helper.c b/src/plugins/fs/helper.c index 59772a60..f17f427b 100644 --- a/src/plugins/fs/helper.c +++ b/src/plugins/fs/helper.c | |||
@@ -24,6 +24,9 @@ | |||
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "platform.h" | ||
28 | #include "helper.h" | ||
29 | |||
27 | /** | 30 | /** |
28 | * Parse a time given in the form | 31 | * Parse a time given in the form |
29 | * "XX seconds yy days zz months". | 32 | * "XX seconds yy days zz months". |
@@ -32,7 +35,7 @@ | |||
32 | * @return OK on success, SYSERR on error | 35 | * @return OK on success, SYSERR on error |
33 | */ | 36 | */ |
34 | int parseTime(const char * t, | 37 | int parseTime(const char * t, |
35 | cron_t * val) { | 38 | cron_t * param) { |
36 | int pos; | 39 | int pos; |
37 | int start; | 40 | int start; |
38 | unsigned int val; | 41 | unsigned int val; |
@@ -85,7 +88,7 @@ int parseTime(const char * t, | |||
85 | while ( t[pos] == ' ') | 88 | while ( t[pos] == ' ') |
86 | pos++; | 89 | pos++; |
87 | } | 90 | } |
88 | *val = ret; | 91 | *param = ret; |
89 | return OK; | 92 | return OK; |
90 | } | 93 | } |
91 | 94 | ||