mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 10:18:58 +02: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>
|
# - Handle INCLUDE <filename>
|
||||||
#
|
#
|
||||||
|
|
||||||
sub read_a_line {
|
sub read_a_line() {
|
||||||
while ( $currentfile ) {
|
while ( $currentfile ) {
|
||||||
|
|
||||||
$currentline = '';
|
$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
|
# 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 ( $currentfile ) {
|
||||||
while ( $currentline = <$currentfile> ) {
|
while ( $currentline = <$currentfile> ) {
|
||||||
$currentlinenumber++;
|
$currentlinenumber++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user