Modify add_global

This commit is contained in:
Justin Ethier 2020-01-27 15:45:30 -05:00
parent 7a48e046ad
commit 60879432f9
2 changed files with 2 additions and 2 deletions

View file

@ -789,7 +789,7 @@ object register_library(const char *name);
*/
/**@{*/
extern list global_table;
void add_global(object * glo);
void add_global(const char *identifier, object * glo);
void add_global2(object identifier, object * glo);
void Cyc_set_globals_changed(gc_thread_data *thd);
/**@}*/

View file

@ -556,7 +556,7 @@ object register_library(const char *name)
/* Global table */
list global_table = NULL;
void add_global(object * glo)
void add_global(const char *identifier, object * glo)
{
// Tried using a vpbuffer for this and the benchmark
// results were the same or worse.