mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +00:00
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:
1 parent
b060841ac1
commit
5b42d3f33b
2 files changed
+2
-1
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user