summaryrefslogtreecommitdiffstats
path: root/Vector.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2006-06-06 20:41:01 +0000
committerHisham Muhammad <hisham@gobolinux.org>2006-06-06 20:41:01 +0000
commit2f1f82ee87f42b53593575241839d6d3b277880f (patch)
treeabffb1c601fb3b92e2f910bfd420f98e0f552874 /Vector.c
parentb95993fa22dc62667a86919d371e0941c168c094 (diff)
Updates for new version of the MakeHeader.py script.
Diffstat (limited to 'Vector.c')
-rw-r--r--Vector.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Vector.c b/Vector.c
index 3e637db5..349dd127 100644
--- a/Vector.c
+++ b/Vector.c
@@ -58,8 +58,7 @@ void Vector_delete(Vector* this) {
free(this);
}
-/* private */
-bool Vector_isConsistent(Vector* this) {
+static inline bool Vector_isConsistent(Vector* this) {
if (this->owner) {
for (int i = 0; i < this->items; i++)
if (this->array[i] && this->array[i]->class != this->vectorType)
@@ -107,8 +106,7 @@ void Vector_sort(Vector* this) {
*/
}
-/* private */
-void Vector_checkArraySize(Vector* this) {
+static void Vector_checkArraySize(Vector* this) {
assert(Vector_isConsistent(this));
if (this->items >= this->arraySize) {
int i;

© 2014-2024 Faster IT GmbH | imprint | privacy policy