make filter enumerator methods static
authorMartin Willi <martin@strongswan.org>
Fri, 3 Jul 2009 12:17:05 +0000 (14:17 +0200)
committerMartin Willi <martin@strongswan.org>
Mon, 6 Jul 2009 11:15:28 +0000 (13:15 +0200)
src/libstrongswan/utils/enumerator.c

index 24bafe6..08522b8 100644 (file)
@@ -408,7 +408,7 @@ typedef struct {
 /**
  * Implementation of enumerator_create_filter().destroy
  */
-void destroy_filter(filter_enumerator_t *this)
+static void destroy_filter(filter_enumerator_t *this)
 {
        if (this->destructor)
        {
@@ -421,8 +421,8 @@ void destroy_filter(filter_enumerator_t *this)
 /**
  * Implementation of enumerator_create_filter().enumerate
  */
-bool enumerate_filter(filter_enumerator_t *this, void *o1, void *o2,
-                                         void *o3, void *o4, void *o5)
+static bool enumerate_filter(filter_enumerator_t *this, void *o1, void *o2,
+                                                        void *o3, void *o4, void *o5)
 {
        void *i1, *i2, *i3, *i4, *i5;