mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
9c70261c0e
No point in slurping in all of dive.h for translation units that only want to do some time manipulation without ever touching a dive. Don't call the header "time.h", because we don't want to end up in a confusion with the system header of the same name. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
19 lines
280 B
C
19 lines
280 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#ifndef TIME_H
|
|
#define TIME_H
|
|
|
|
#include "units.h"
|
|
#include <time.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern timestamp_t utc_mktime(struct tm *tm);
|
|
extern void utc_mkdate(timestamp_t, struct tm *tm);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|