fix warnings.

This commit is contained in:
ubu32 2011-07-09 09:15:52 -07:00
parent cc378715e0
commit 04a6911b9f
2 changed files with 8 additions and 4 deletions

View File

@ -117,7 +117,7 @@ tz_offset() returns the offset from UTC in seconds.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
static void
do_tzset()
do_tzset(void)
{ static int done = FALSE;
if ( !done )
@ -135,7 +135,7 @@ value is EAST and includes the DST offset.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
static int
tz_offset()
tz_offset(void)
{
#ifdef HAVE_VAR_TIMEZONE
do_tzset();
@ -346,7 +346,7 @@ get_ftm(term_t t, ftm *ftm)
compute missing fields from fmt
*/
void
static void
cal_ftm(ftm *ftm, int required)
{ int missing = ftm->flags^required;

View File

@ -1092,10 +1092,12 @@ Yap_fetch_module_for_format(term_t args, YAP_Term *modp) {
return YAP_InitSlot(nt);
}
extern word pl_readline(term_t flag);
word
pl_readline(term_t flag)
{
return 0;
}
static Term
@ -1111,6 +1113,8 @@ StreamPosition(IOSTREAM *st)
return Yap_MkApplTerm(FunctorStreamPos,4,t);
}
extern Term Yap_StreamPosition(IOSTREAM *st);
Term
Yap_StreamPosition(IOSTREAM *st)
{