diff options
Diffstat (limited to 'apps/misc.h')
-rw-r--r-- | apps/misc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/misc.h b/apps/misc.h index f273631030..f127d6acbf 100644 --- a/apps/misc.h +++ b/apps/misc.h | |||
@@ -49,6 +49,15 @@ char *output_dyn_value(char *buf, int buf_size, int value, | |||
49 | char *create_numbered_filename(char *buffer, const char *path, | 49 | char *create_numbered_filename(char *buffer, const char *path, |
50 | const char *prefix, const char *suffix, | 50 | const char *prefix, const char *suffix, |
51 | int numberlen IF_CNFN_NUM_(, int *num)); | 51 | int numberlen IF_CNFN_NUM_(, int *num)); |
52 | |||
53 | /* Format time into buf. | ||
54 | * | ||
55 | * buf - buffer to format to. | ||
56 | * buf_size - size of buffer. | ||
57 | * t - time to format, in milliseconds. | ||
58 | */ | ||
59 | void format_time(char* buf, int buf_size, long t); | ||
60 | |||
52 | #ifdef CONFIG_RTC | 61 | #ifdef CONFIG_RTC |
53 | /* Create a filename with a date+time part. | 62 | /* Create a filename with a date+time part. |
54 | It is allowed that buffer and path point to the same memory location, | 63 | It is allowed that buffer and path point to the same memory location, |