From 2d496d2028e1283384f1c9d243f96eb59c42297e Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Fri, 25 Feb 2000 11:15:26 +0000 Subject: Get rid of 'ab'-s, added return to functions. --- filter/test.conf | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'filter/test.conf') diff --git a/filter/test.conf b/filter/test.conf index 616dbc58..e42feadb 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -8,7 +8,7 @@ router id 62.168.0.1; define xyzzy = 120+10; -function callme ( int arg1; int arg2 ) +function callme(int arg1; int arg2) int local1; int local2; int i; @@ -23,7 +23,13 @@ int i; } } -function startup () +function fifteen() +{ + print "fifteen called"; + return 15; +} + +function startup() int i; prefix px; ip p; @@ -58,6 +64,9 @@ ip p; callme ( 4, 2 ); callme ( 7, 2 ); + i = fifteen(); + print "Testing function calls: 15 = " i; + print "done"; quitbird; # print "*** FAIL: this is unreachable"; -- cgit v1.2.3