Only export the ceil function from POSIX. By default, POSIX exports

everything, and this happens to generate warnings when using perl 5.10.0.
That's a perl bug, but we can still work around it and avoid potential
future issues of the same kind.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5389 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-11-18 20:19:26 +00:00
1 parent b060841ac1
commit 5b42d3f33b
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@
require 5.004;
use strict;
use POSIX;
use POSIX qw(ceil);
use Fcntl qw(:DEFAULT :seek);
use vars qw($opt_html $opt_body $opt_bodyonly $opt_igncheck $use_sysfs
@vendors %decode_callback);