Browse Source

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/i2c-tools/trunk@5388 7894878c-1315-0410-8ee3-d5d059ff63e0
tags/v3.0.2
Jean Delvare 17 years ago
parent
commit
8cc99d7f45
  1. 1
      CHANGES
  2. 2
      eeprom/decode-dimms

1
CHANGES

@ -4,6 +4,7 @@ i2c-tools CHANGES
SVN
i2c-dev.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines
decode-dimms: Add support for little-endian word hexdumps
Only export the ceil function from POSIX
decode-vaio: Remove history
i2cdetect: Support i2c bus passed by name
Shorten the usage message

2
eeprom/decode-dimms

@ -38,7 +38,7 @@
require 5.004;
use strict;
use POSIX;
use POSIX qw(ceil);
use Fcntl qw(:DEFAULT :seek);
use vars qw($opt_html $opt_bodyonly $opt_igncheck $use_sysfs $use_hexdump
@vendors %decode_callback $revision @dimm_list %hexdump_cache);

Loading…
Cancel
Save