summaryrefslogtreecommitdiffstats
path: root/include/cmsys.h
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-15 22:50:01 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-06-15 22:50:01 +0800
commitd2619aa396af53702b780fa8bfd34a78abc0edc6 (patch)
treefe8f0361078150a9a595e19b73c7b5809fa8e18a /include/cmsys.h
parentddcba43d911f6a5faae9130073820e4442b9d4c8 (diff)
downloadpttbbs-d2619aa396af53702b780fa8bfd34a78abc0edc6.tar
pttbbs-d2619aa396af53702b780fa8bfd34a78abc0edc6.tar.gz
pttbbs-d2619aa396af53702b780fa8bfd34a78abc0edc6.tar.bz2
pttbbs-d2619aa396af53702b780fa8bfd34a78abc0edc6.tar.lz
pttbbs-d2619aa396af53702b780fa8bfd34a78abc0edc6.tar.xz
pttbbs-d2619aa396af53702b780fa8bfd34a78abc0edc6.tar.zst
pttbbs-d2619aa396af53702b780fa8bfd34a78abc0edc6.zip
Remove declarations.
Add extern. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4358 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/cmsys.h')
-rw-r--r--include/cmsys.h24
1 files changed, 12 insertions, 12 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