Changed typenames in contact list

This commit is contained in:
James Booth
2012-03-09 21:23:39 +00:00
parent f533c6c162
commit 59c02863fe
6 changed files with 41 additions and 40 deletions

View File

@@ -23,14 +23,14 @@
#ifndef CONTACT_LIST_H
#define CONTACT_LIST_H
struct contact_list {
typedef struct _contact_list_t {
char **contacts;
int size;
};
} contact_list_t;
void contact_list_clear(void);
int contact_list_add(const char * const contact);
int contact_list_remove(const char * const contact);
struct contact_list *get_contact_list(void);
contact_list_t *get_contact_list(void);
#endif