Commit 7d1f1b45 7d1f1b45ebe859d8bd3c937d81c2ff6c4c1f058c by Sergey Poznyakoff

Commented out unused static functions

1 parent 84ace43c
...@@ -239,6 +239,8 @@ read_config (const char *config_file) ...@@ -239,6 +239,8 @@ read_config (const char *config_file)
239 fclose (fp); 239 fclose (fp);
240 } 240 }
241 241
242 /*NOTE: currently unused. */
243 #if 0
242 static void 244 static void
243 netdef_free (netdef_t *netdef) 245 netdef_free (netdef_t *netdef)
244 { 246 {
...@@ -266,7 +268,6 @@ acl_free (acl_t *acl) ...@@ -266,7 +268,6 @@ acl_free (acl_t *acl)
266 } 268 }
267 } 269 }
268 270
269 /*NOTE: currently unused. */
270 static void 271 static void
271 discard_acl (acl_t *mark) 272 discard_acl (acl_t *mark)
272 { 273 {
...@@ -279,6 +280,7 @@ discard_acl (acl_t *mark) ...@@ -279,6 +280,7 @@ discard_acl (acl_t *mark)
279 else 280 else
280 acl_head = acl_tail = NULL; 281 acl_head = acl_tail = NULL;
281 } 282 }
283 #endif
282 284
283 int 285 int
284 acl_match (struct sockaddr_in *sa_in) 286 acl_match (struct sockaddr_in *sa_in)
......
...@@ -60,7 +60,9 @@ util_ll_add (node *c, int data) ...@@ -60,7 +60,9 @@ util_ll_add (node *c, int data)
60 60
61 /* 61 /*
62 * free a linked list 62 * free a linked list
63 * Unused so far
63 */ 64 */
65 #if 0
64 static void 66 static void
65 util_ll_free (node *c) 67 util_ll_free (node *c)
66 { 68 {
...@@ -72,6 +74,7 @@ util_ll_free (node *c) ...@@ -72,6 +74,7 @@ util_ll_free (node *c)
72 free (c); 74 free (c);
73 } 75 }
74 } 76 }
77 #endif
75 78
76 /* 79 /*
77 * expands command into its command and arguments, then runs command 80 * expands command into its command and arguments, then runs command
......