Fix code to stick to proper naming convention.

This commit is contained in:
2018-02-11 21:09:41 -08:00
parent 732ff47f44
commit e5351c17a2
10 changed files with 57 additions and 57 deletions

View File

@@ -1,11 +1,11 @@
#include "table.h"
#include <stdlib.h>
void table_init(table* table) {
void table_init(libab_table* table) {
ht_init(&table->table);
table->parent = NULL;
}
table_entry* table_search(table* table, const char* string) {
libab_table_entry* table_search(libab_table* table, const char* string) {
void* to_return = NULL;
do {
to_return = ht_get(&table->table, string);
@@ -13,6 +13,6 @@ table_entry* table_search(table* table, const char* string) {
} while(table && to_return == NULL);
return to_return;
}
void table_free(table* table) {
void table_free(libab_table* table) {
ht_free(&table->table);
}