dtcm: include <iso8601.h> of libcsa to resolve type mismatch

This commit is contained in:
OBATA Akio
2021-10-12 16:18:45 +09:00
parent 008bcba766
commit 2c9db8fe37
7 changed files with 6 additions and 14 deletions

View File

@@ -60,6 +60,7 @@ static char sccsid[] = "@(#)cm_tty.c 1.91 95/07/27 Copyr 1993 Sun Microsystems,
#include <Dt/MsgCatP.h>
#include <sys/param.h>
#include <sys/types.h>
#include <iso8601.h>
#include "cm_tty.h"
#include "getdate.h"
#include "util.h"
@@ -157,11 +158,6 @@ nl_catd catd_global;
static char *new_appt_begin_delimiter = NULL;
static char *new_appt_end_delimiter = NULL;
extern int _csa_iso8601_to_tick(char *, time_t*);
extern int _csa_tick_to_iso8601(time_t, char *);
extern int _csa_iso8601_to_duration(char *, int*);
extern int _csa_duration_to_iso8601(int, char *);
/*******************************************************************************
**
** Static functions

View File

@@ -84,8 +84,7 @@ extern int errno;
#include "util.h"
#include "cm_tty.h"
extern int _csa_tick_to_iso8601(time_t, char *);
extern int _csa_iso8601_to_tick(char *, time_t*);
#include <iso8601.h>
extern FILE *popen(const char *, const char *);
extern int pclose(FILE *);