From 8fb0c019ec28e06389bde434f4a058d533b226bb Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 23 Sep 2012 10:41:34 -0700 Subject: [PATCH] use Getopt::Std, patch original from Leonardo , updated by me --- cf/make-proto.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cf/make-proto.pl b/cf/make-proto.pl index 055bc4e52..bf83e4c5d 100644 --- a/cf/make-proto.pl +++ b/cf/make-proto.pl @@ -1,8 +1,7 @@ # Make prototypes from .c files # $Id$ -##use Getopt::Std; -require 'getopts.pl'; +use Getopt::Std; use File::Compare; my $comment = 0; @@ -14,7 +13,7 @@ my $oproto = 1; my $private_func_re = "^_"; my %depfunction = (); -Getopts('x:m:o:p:dqE:R:P:') || die "foo"; +getopts('x:m:o:p:dqE:R:P:') || die "foo"; if($opt_d) { $debug = 1;