mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 10:51:02 +01:00
Add prototypes to read_a_line and read_a_line1
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6901 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
dca04abac1
commit
b3778a24cb
@ -851,7 +851,7 @@ sub pop_open() {
|
||||
# - Handle INCLUDE <filename>
|
||||
#
|
||||
|
||||
sub read_a_line {
|
||||
sub read_a_line() {
|
||||
while ( $currentfile ) {
|
||||
|
||||
$currentline = '';
|
||||
@ -910,7 +910,7 @@ sub read_a_line {
|
||||
#
|
||||
# Simple version of the above. Doesn't do line concatenation, shell variable expansion or INCLUDE processing
|
||||
#
|
||||
sub read_a_line1 {
|
||||
sub read_a_line1() {
|
||||
while ( $currentfile ) {
|
||||
while ( $currentline = <$currentfile> ) {
|
||||
$currentlinenumber++;
|
||||
|
Loading…
Reference in New Issue
Block a user