1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

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

@ -54,6 +54,7 @@
#include <X11/Intrinsic.h>
#include <csa.h>
#include <iso8601.h>
#include <Dt/MsgCatP.h>
#include <Xm/Xm.h>
#include "util.h"
@ -305,8 +306,6 @@ typedef struct {
} Calendar;
extern Calendar *calendar;
extern int _csa_iso8601_to_tick(char *, time_t*);
extern int _csa_tick_to_iso8601(time_t, char *);
#define MAXBUFLEN 4096

View file

@ -59,6 +59,7 @@ static char sccsid[] = "@(#)format.c 1.27 95/01/19 Copyr 1991 Sun Microsystems,
#endif
#include <Xm/Xm.h>
#include <csa.h>
#include <iso8601.h>
#include "util.h"
#include "cm_tty.h"
#include "timeops.h"

View file

@ -71,7 +71,6 @@
#endif /* SVR4 */
#define ACCESS_NAME_LEN 25
extern int _csa_duration_to_iso8601(int, char *);
extern void scrub_attr_list(Dtcm_appointment *);
extern boolean_t compare_repeat_info(Dtcm_appointment *, RFP *, CSA_session_handle, int);
extern void change_rule_for_this_one_only(Calendar *, Dtcm_appointment *, Dtcm_appointment *);

View file

@ -60,15 +60,13 @@
#include <Xm/Text.h>
#include <Xm/ToggleBG.h>
#include <Xm/ToggleB.h>
#include <iso8601.h>
#include "reminders.h"
#include "props.h"
#include "help.h"
#include "props_pu.h"
#include "util.h"
extern int _csa_duration_to_iso8601(int, char *);
extern int _csa_iso8601_to_duration(char *, int*);
/*******************************************************************************
**
** Static functions local to reminders.c only

View file

@ -79,7 +79,7 @@ typedef enum {
typedef struct {
Boolean selected;
Time_scope_menu_op scope;
int scope_val;
time_t scope_val;
} Reminders_val;
typedef struct {

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 *);