no need to use PROTO.

This commit is contained in:
Vítor Santos Costa 2014-05-25 20:48:44 +01:00
parent 0ebea4ec26
commit 99ab3fb748
4 changed files with 4 additions and 4 deletions

View File

@ -3244,7 +3244,7 @@ is_matrix(void)
return TRUE;
}
void PROTO(init_matrix, (void));
void init_matrix( void );
void
init_matrix(void)

View File

@ -22,7 +22,7 @@
#include <windows.h>
#endif
void PROTO(init_random, (void));
void init_random( void );
static short a1 = 27314, b1 = 9213, c1 = 17773;

View File

@ -32,7 +32,7 @@
/* for the sake of NULL */
#include <stdio.h>
void PROTO(init_regexp, (void));
void init_regexp( void );
static int check_regexp(void)
{

View File

@ -1364,7 +1364,7 @@ void traverse_and_save(TrNode node, FILE *file, int float_block) {
if (YAP_IsAtomTerm(t))
fprintf(file, "%lu %d %s%c ", ATOM_SAVE_MARK, index, YAP_AtomName(YAP_AtomOfTerm(t)), '\0');
else /* (ApplTag & t) */
fprintf(file, "%lu %d %s %d ", FUNCTOR_SAVE_MARK, index,
fprintf(file, "%lu %d %s %lu ", FUNCTOR_SAVE_MARK, index,
YAP_AtomName(YAP_NameOfFunctor((YAP_Functor)(~ApplTag & t))),
YAP_ArityOfFunctor((YAP_Functor)(~ApplTag & t)));
} else