Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7457d71f

Von admin vor fast 6 Jahren hinzugefügt

  • ID 7457d71fcc808551e2b035e3c542a2d3b4d46423
  • Vorgänger f9e36299
  • Nachfolger 64ba73f6

Fixed compiler warnings.

Unterschiede anzeigen:

src/os/gwentime_all.c
/***************************************************************************
$RCSfile$
-------------------
cvs : $Id$
begin : Sun Nov 23 2003
copyright : (C) 2003 by Martin Preuss
copyright : (C) 2019 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
......
GWEN_LIST_FUNCTIONS(GWEN_TIME_TMPLCHAR, GWEN_TimeTmplChar)
/* ------------------------------------------------------------------------------------------------
* forward declarations
* ------------------------------------------------------------------------------------------------
*/
static GWEN_TIME *GWEN_Time__fromString(const char *s, const char *tmpl, int inUtc);
/* ------------------------------------------------------------------------------------------------
* implementations
* ------------------------------------------------------------------------------------------------
*/
GWEN_TIME *GWEN_CurrentTime(void)
{
......
#if 0
/* TODO: compiler says "function returns an aggregate" */
struct tm GWEN_Time_toTm(const GWEN_TIME *t)
{
......
tb=localtime(&tt);
return *tb;
}
#endif
time_t GWEN_Time_toTime_t(const GWEN_TIME *t)
{

Auch abrufbar als: Unified diff