Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit38a412e

Browse files
committed
Fix compile warning.
1 parentec506c1 commit38a412e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎src/interfaces/ecpg/pgtypeslib/dt.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndefDT_H
22
#defineDT_H
33

4+
#include<pgtypes_timestamp.h>
5+
46
#defineMAXTZLEN 10
57

68
#ifdefHAVE_INT64_TIMESTAMP
@@ -297,6 +299,8 @@ intEncodeTimeOnly(struct tm * tm, fsec_t fsec, int *tzp, int style, char *str);
297299
intEncodeDateTime(structtm*tm,fsec_tfsec,int*tzp,char**tzn,intstyle,char*str,bool);
298300
intEncodeInterval(structtm*tm,fsec_tfsec,intstyle,char*str);
299301

302+
inttm2timestamp(structtm*,fsec_t,int*,Timestamp*);
303+
300304
intDecodeUnits(intfield,char*lowtoken,int*val);
301305
boolClearDateCache(bool,bool,bool);
302306

‎src/interfaces/ecpg/pgtypeslib/dt_common.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ static int day_tab[2][13] = {
1313
{31,29,31,30,31,30,31,31,30,31,30,31,0}};
1414

1515
typedeflongAbsoluteTime;
16-
17-
inttm2timestamp(structtm*,fsec_t,int*,Timestamp*);
1816

1917
#defineABS_SIGNBIT ((char) 0200)
2018
#definePOS(n) (n)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp