summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/cmsys.h24
-rw-r--r--include/proto.h5
2 files changed, 12 insertions, 17 deletions
diff --git a/include/cmsys.h b/include/cmsys.h
index 2a219324..8d4c07bf 100644
--- a/include/cmsys.h
+++ b/include/cmsys.h
@@ -155,17 +155,17 @@ struct Vector {
char *base;
};
-void Vector_init(struct Vector *self, const int size);
-void Vector_delete(struct Vector *self);
-void Vector_clear(struct Vector *self, const int size);
-int Vector_length(struct Vector *self);
-void Vector_resize(struct Vector *self, const int length);
-void Vector_add(struct Vector *self, const char *name);
-const char* Vector_get(struct Vector *self, const int idx);
-int Vector_MaxLen(const struct Vector *list, const int offset, const int count);
-int Vector_match(const struct Vector *src, struct Vector *dst, const int key, const int pos);
-void Vector_sublist(struct Vector *src, struct Vector *dst, const char *tag);
-int Vector_remove(struct Vector *self, const char *name);
-int Vector_search(const struct Vector *self, const char *name);
+extern void Vector_init(struct Vector *self, const int size);
+extern void Vector_delete(struct Vector *self);
+extern void Vector_clear(struct Vector *self, const int size);
+extern int Vector_length(struct Vector *self);
+extern void Vector_resize(struct Vector *self, const int length);
+extern void Vector_add(struct Vector *self, const char *name);
+extern const char* Vector_get(struct Vector *self, const int idx);
+extern int Vector_MaxLen(const struct Vector *list, const int offset, const int count);
+extern int Vector_match(const struct Vector *src, struct Vector *dst, const int key, const int pos);
+extern void Vector_sublist(struct Vector *src, struct Vector *dst, const char *tag);
+extern int Vector_remove(struct Vector *self, const char *name);
+extern int Vector_search(const struct Vector *self, const char *name);
#endif
diff --git a/include/proto.h b/include/proto.h
index c2cc0a67..5cad7c9d 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -428,11 +428,6 @@ typedef int (*gnc_comp_func)(int, const char*, int);
typedef int (*gnc_perm_func)(int);
typedef char* (*gnc_getname_func)(int);
-extern void NameList_init(struct NameList *self);
-extern void NameList_delete(struct NameList *self);
-extern void NameList_clear(struct NameList *self);
-extern void NameList_resizefor(struct NameList *self, int size);
-extern void NameList_add(struct NameList *self, const char *name);
extern void namecomplete2(struct NameList *namelist, const char *prompt, char *data);
void usercomplete(const char *prompt, char *data);