no need to use PROTO.
This commit is contained in:
parent
0ebea4ec26
commit
99ab3fb748
@ -3244,7 +3244,7 @@ is_matrix(void)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void PROTO(init_matrix, (void));
|
void init_matrix( void );
|
||||||
|
|
||||||
void
|
void
|
||||||
init_matrix(void)
|
init_matrix(void)
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void PROTO(init_random, (void));
|
void init_random( void );
|
||||||
|
|
||||||
static short a1 = 27314, b1 = 9213, c1 = 17773;
|
static short a1 = 27314, b1 = 9213, c1 = 17773;
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
/* for the sake of NULL */
|
/* for the sake of NULL */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
void PROTO(init_regexp, (void));
|
void init_regexp( void );
|
||||||
|
|
||||||
static int check_regexp(void)
|
static int check_regexp(void)
|
||||||
{
|
{
|
||||||
|
@ -1364,7 +1364,7 @@ void traverse_and_save(TrNode node, FILE *file, int float_block) {
|
|||||||
if (YAP_IsAtomTerm(t))
|
if (YAP_IsAtomTerm(t))
|
||||||
fprintf(file, "%lu %d %s%c ", ATOM_SAVE_MARK, index, YAP_AtomName(YAP_AtomOfTerm(t)), '\0');
|
fprintf(file, "%lu %d %s%c ", ATOM_SAVE_MARK, index, YAP_AtomName(YAP_AtomOfTerm(t)), '\0');
|
||||||
else /* (ApplTag & t) */
|
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_AtomName(YAP_NameOfFunctor((YAP_Functor)(~ApplTag & t))),
|
||||||
YAP_ArityOfFunctor((YAP_Functor)(~ApplTag & t)));
|
YAP_ArityOfFunctor((YAP_Functor)(~ApplTag & t)));
|
||||||
} else
|
} else
|
||||||
|
Reference in New Issue
Block a user