fix warnings.
This commit is contained in:
parent
cc378715e0
commit
04a6911b9f
@ -117,7 +117,7 @@ tz_offset() returns the offset from UTC in seconds.
|
|||||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
|
||||||
|
|
||||||
static void
|
static void
|
||||||
do_tzset()
|
do_tzset(void)
|
||||||
{ static int done = FALSE;
|
{ static int done = FALSE;
|
||||||
|
|
||||||
if ( !done )
|
if ( !done )
|
||||||
@ -135,7 +135,7 @@ value is EAST and includes the DST offset.
|
|||||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
|
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
tz_offset()
|
tz_offset(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_VAR_TIMEZONE
|
#ifdef HAVE_VAR_TIMEZONE
|
||||||
do_tzset();
|
do_tzset();
|
||||||
@ -346,7 +346,7 @@ get_ftm(term_t t, ftm *ftm)
|
|||||||
compute missing fields from fmt
|
compute missing fields from fmt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
static void
|
||||||
cal_ftm(ftm *ftm, int required)
|
cal_ftm(ftm *ftm, int required)
|
||||||
{ int missing = ftm->flags^required;
|
{ int missing = ftm->flags^required;
|
||||||
|
|
||||||
|
@ -1092,10 +1092,12 @@ Yap_fetch_module_for_format(term_t args, YAP_Term *modp) {
|
|||||||
return YAP_InitSlot(nt);
|
return YAP_InitSlot(nt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern word pl_readline(term_t flag);
|
||||||
|
|
||||||
word
|
word
|
||||||
pl_readline(term_t flag)
|
pl_readline(term_t flag)
|
||||||
{
|
{
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static Term
|
static Term
|
||||||
@ -1111,6 +1113,8 @@ StreamPosition(IOSTREAM *st)
|
|||||||
return Yap_MkApplTerm(FunctorStreamPos,4,t);
|
return Yap_MkApplTerm(FunctorStreamPos,4,t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern Term Yap_StreamPosition(IOSTREAM *st);
|
||||||
|
|
||||||
Term
|
Term
|
||||||
Yap_StreamPosition(IOSTREAM *st)
|
Yap_StreamPosition(IOSTREAM *st)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user