mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Clean up timestamp enum definition
This commit is contained in:
parent
b05f38abd0
commit
ae76f8f58d
3 changed files with 8 additions and 8 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
enum timestamp_t
|
||||
typedef enum
|
||||
{
|
||||
TIMESTAMP_NONE,
|
||||
TIMESTAMP_24HOUR,
|
||||
|
|
@ -29,8 +29,8 @@ enum timestamp_t
|
|||
TIMESTAMP_24HOUR_DELTA,
|
||||
TIMESTAMP_ISO8601,
|
||||
TIMESTAMP_END,
|
||||
};
|
||||
} timestamp_t;
|
||||
|
||||
char *timestamp_current_time(void);
|
||||
const char* timestamp_state_to_string(enum timestamp_t timestamp);
|
||||
enum timestamp_t timestamp_option_parse(const char *arg);
|
||||
const char* timestamp_state_to_string(timestamp_t timestamp);
|
||||
timestamp_t timestamp_option_parse(const char *arg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue