From f97f11eab25f0c294ff02b3c4485d7a0a91b5501 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 3 Jan 2007 15:34:01 +0000 Subject: r20511: Combine warnings/errors/fatal functions and move them to Parse::Pidl. (This used to be commit 959adfd0a682a4894c3bdd4ae9c6fc3ebfeeef1f) --- source4/pidl/lib/Parse/Pidl/Compat.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source4/pidl/lib/Parse/Pidl/Compat.pm') diff --git a/source4/pidl/lib/Parse/Pidl/Compat.pm b/source4/pidl/lib/Parse/Pidl/Compat.pm index 944193ac1b..f1241ef341 100644 --- a/source4/pidl/lib/Parse/Pidl/Compat.pm +++ b/source4/pidl/lib/Parse/Pidl/Compat.pm @@ -5,6 +5,7 @@ package Parse::Pidl::Compat; +use Parse::Pidl qw(warning); use Parse::Pidl::Util qw(has_property); use strict; @@ -74,13 +75,6 @@ my %supported_properties = ( "length_is" => ["ELEMENT"], ); -sub warning($$) -{ - my ($l,$m) = @_; - - print STDERR "$l->{FILE}:$l->{LINE}:warning:$m\n"; -} - sub CheckTypedef($) { my ($td) = @_; -- cgit