get rid of PROTO
This commit is contained in:
90
C/cdmgr.c
90
C/cdmgr.c
@@ -473,53 +473,53 @@ static char SccsId[] = "@(#)cdmgr.c 1.1 05/02/98";
|
||||
#endif
|
||||
|
||||
|
||||
STATIC_PROTO(void retract_all, (PredEntry *, int));
|
||||
STATIC_PROTO(void add_first_static, (PredEntry *, yamop *, int));
|
||||
STATIC_PROTO(void add_first_dynamic, (PredEntry *, yamop *, int));
|
||||
STATIC_PROTO(void asserta_stat_clause, (PredEntry *, yamop *, int));
|
||||
STATIC_PROTO(void asserta_dynam_clause, (PredEntry *, yamop *));
|
||||
STATIC_PROTO(void assertz_stat_clause, (PredEntry *, yamop *, int));
|
||||
STATIC_PROTO(void assertz_dynam_clause, (PredEntry *, yamop *));
|
||||
STATIC_PROTO(void expand_consult, ( void ));
|
||||
STATIC_PROTO(int not_was_reconsulted, (PredEntry *, Term, int));
|
||||
STATIC_PROTO(int RemoveIndexation, (PredEntry *));
|
||||
STATIC_PROTO(int static_in_use, (PredEntry *, int));
|
||||
static void retract_all(PredEntry *, int);
|
||||
static void add_first_static(PredEntry *, yamop *, int);
|
||||
static void add_first_dynamic(PredEntry *, yamop *, int);
|
||||
static void asserta_stat_clause(PredEntry *, yamop *, int);
|
||||
static void asserta_dynam_clause(PredEntry *, yamop *);
|
||||
static void assertz_stat_clause(PredEntry *, yamop *, int);
|
||||
static void assertz_dynam_clause(PredEntry *, yamop *);
|
||||
static void expand_consult( void );
|
||||
static int not_was_reconsulted(PredEntry *, Term, int);
|
||||
static int RemoveIndexation(PredEntry *);
|
||||
static int static_in_use(PredEntry *, int);
|
||||
#if !defined(YAPOR) && !defined(THREADS)
|
||||
STATIC_PROTO(Int search_for_static_predicate_in_use, (PredEntry *, int));
|
||||
STATIC_PROTO(void mark_pred, (int, PredEntry *));
|
||||
STATIC_PROTO(void do_toggle_static_predicates_in_use, (int));
|
||||
static Int search_for_static_predicate_in_use(PredEntry *, int);
|
||||
static void mark_pred(int, PredEntry *);
|
||||
static void do_toggle_static_predicates_in_use(int);
|
||||
#endif
|
||||
STATIC_PROTO(Int p_number_of_clauses, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_compile, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_compile_dynamic, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_purge_clauses, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_setspy, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_rmspy, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_startconsult, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_showconslultlev, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_endconsult, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_undefined, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_in_use, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_new_multifile, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_is_multifile, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_optimizer_on, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_optimizer_off, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_is_dynamic, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_kill_dynamic, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_compile_mode, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_is_profiled, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_profile_info, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_profile_reset, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_is_call_counted, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_call_count_info, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_call_count_set, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_call_count_reset, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int p_toggle_static_predicates_in_use, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Atom YapConsultingFile, ( USES_REGS1 ));
|
||||
STATIC_PROTO(Int PredForCode,(yamop *, Atom *, UInt *, Term *));
|
||||
STATIC_PROTO(void kill_first_log_iblock,(LogUpdIndex *, LogUpdIndex *, PredEntry *));
|
||||
STATIC_PROTO(LogUpdIndex *find_owner_log_index,(LogUpdIndex *, yamop *));
|
||||
STATIC_PROTO(StaticIndex *find_owner_static_index,(StaticIndex *, yamop *));
|
||||
static Int p_number_of_clauses( USES_REGS1 );
|
||||
static Int p_compile( USES_REGS1 );
|
||||
static Int p_compile_dynamic( USES_REGS1 );
|
||||
static Int p_purge_clauses( USES_REGS1 );
|
||||
static Int p_setspy( USES_REGS1 );
|
||||
static Int p_rmspy( USES_REGS1 );
|
||||
static Int p_startconsult( USES_REGS1 );
|
||||
static Int p_showconslultlev( USES_REGS1 );
|
||||
static Int p_endconsult( USES_REGS1 );
|
||||
static Int p_undefined( USES_REGS1 );
|
||||
static Int p_in_use( USES_REGS1 );
|
||||
static Int p_new_multifile( USES_REGS1 );
|
||||
static Int p_is_multifile( USES_REGS1 );
|
||||
static Int p_optimizer_on( USES_REGS1 );
|
||||
static Int p_optimizer_off( USES_REGS1 );
|
||||
static Int p_is_dynamic( USES_REGS1 );
|
||||
static Int p_kill_dynamic( USES_REGS1 );
|
||||
static Int p_compile_mode( USES_REGS1 );
|
||||
static Int p_is_profiled( USES_REGS1 );
|
||||
static Int p_profile_info( USES_REGS1 );
|
||||
static Int p_profile_reset( USES_REGS1 );
|
||||
static Int p_is_call_counted( USES_REGS1 );
|
||||
static Int p_call_count_info( USES_REGS1 );
|
||||
static Int p_call_count_set( USES_REGS1 );
|
||||
static Int p_call_count_reset( USES_REGS1 );
|
||||
static Int p_toggle_static_predicates_in_use( USES_REGS1 );
|
||||
static Atom YapConsultingFile( USES_REGS1 );
|
||||
static Int PredForCode(yamop *, Atom *, UInt *, Term *);
|
||||
static void kill_first_log_iblock(LogUpdIndex *, LogUpdIndex *, PredEntry *);
|
||||
static LogUpdIndex *find_owner_log_index(LogUpdIndex *, yamop *);
|
||||
static StaticIndex *find_owner_static_index(StaticIndex *, yamop *);
|
||||
|
||||
#define PredArity(p) (p->ArityOfPE)
|
||||
#define TRYCODE(G,F,N) ( (N)<5 ? (op_numbers)((int)F+(N)*3) : G)
|
||||
|
Reference in New Issue
Block a user