aboutsummaryrefslogtreecommitdiffstats
path: root/net/relayd/files/patch-ctl-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/relayd/files/patch-ctl-parser.c')
-rw-r--r--net/relayd/files/patch-ctl-parser.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/relayd/files/patch-ctl-parser.c b/net/relayd/files/patch-ctl-parser.c
new file mode 100644
index 00000000000..f2162c9e9f0
--- /dev/null
+++ b/net/relayd/files/patch-ctl-parser.c
@@ -0,0 +1,21 @@
+--- relayctl/parser.c.orig Wed May 30 07:41:48 2007
++++ relayctl/parser.c Mon Jan 7 21:32:16 2008
+@@ -18,7 +18,7 @@
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+
+-#include <sys/types.h>
++#include <sys/param.h>
+ #include <sys/socket.h>
+ #include <sys/queue.h>
+ #include <netinet/in.h>
+@@ -118,6 +118,9 @@
+ };
+
+ static struct parse_result res;
++
++const struct token *match_token(const char *, const struct token []);
++void show_valid_args(const struct token []);
+
+ struct parse_result *
+ parse(int argc, char *argv[])