mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
Used modified version of indent that understands over 100 typedefs.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.17 1997/09/08 20:57:26 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.18 1997/09/08 21:48:21 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This code is actually (almost) unused.
|
||||
@@ -304,7 +304,7 @@ tintervalout(TimeInterval interval)
|
||||
*****************************************************************************/
|
||||
|
||||
RelativeTime
|
||||
timespan_reltime(TimeSpan * timespan)
|
||||
timespan_reltime(TimeSpan *timespan)
|
||||
{
|
||||
RelativeTime time;
|
||||
int year,
|
||||
@@ -1071,7 +1071,7 @@ timeofday(void)
|
||||
|
||||
gettimeofday(&tp, &tpz);
|
||||
strftime(templ, sizeof(templ), "%a %b %d %H:%M:%S.%%d %Y %Z",
|
||||
localtime((time_t *) & tp.tv_sec));
|
||||
localtime((time_t *) &tp.tv_sec));
|
||||
sprintf(buf, templ, tp.tv_usec);
|
||||
|
||||
len = VARHDRSZ + strlen(buf);
|
||||
|
Reference in New Issue
Block a user