Skip to content
Snippets Groups Projects
Commit eb0318aa authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Removed cmp_datetime.h

parent b01d0453
No related branches found
No related tags found
1 merge request!34Version 2.2.0
Pipeline #24155 failed
......@@ -56,7 +56,6 @@ libcdi_la_SOURCES = \
cdi_cksum.c \
cdi_cksum.h \
cdi_uuid.h \
cmp_datetime.h \
dmemory.c \
dmemory.h \
dtypes.h \
......
#ifndef CMP_DATETIME_H
#define CMP_DATETIME_H
typedef struct
{
int date;
int time;
} CmpDateTime;
static inline int
datetime_differ(CmpDateTime dt1, CmpDateTime dt2)
{
return ((2 * ((dt1.date > dt2.date) - (dt1.date < dt2.date)) + (dt1.time > dt2.time) - (dt1.time < dt2.time)) != 0);
}
#endif
/*
* Local Variables:
* c-file-style: "Java"
* c-basic-offset: 2
* indent-tabs-mode: nil
* show-trailing-whitespace: t
* require-trailing-newline: t
* End:
*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment