Changeset 5448

Show
Ignore:
Timestamp:
11/27/08 22:41:28 (4 years ago)
Author:
khali
Message:

Consistently don't use prototyped functions.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect

    r5447 r5448  
    24622462 
    24632463# Build and return a PCI device's bus ID 
    2464 sub pci_busid($) 
     2464sub pci_busid 
    24652465{ 
    24662466  my $device = shift; 
     
    25692569# $_[0]: Reference to an opened filehandle 
    25702570# Returns: -1 on failure, functionality bitfield on success. 
    2571 sub i2c_get_funcs($) 
     2571sub i2c_get_funcs 
    25722572{ 
    25732573  my $file = shift; 
     
    26732673# chips locks. This is done by choosing the best probing method depending 
    26742674# on the address range. 
    2675 sub i2c_probe($$$) 
     2675sub i2c_probe 
    26762676{ 
    26772677  my ($file, $addr, $funcs) = @_; 
     
    29132913# we don't know a single device, and probing some addresses has caused 
    29142914# random trouble in the past. 
    2915 sub i2c_addresses_to_scan() 
     2915sub i2c_addresses_to_scan 
    29162916{ 
    29172917  my @used; 
     
    31233123 
    31243124# Guess if an unknown Super-I/O chip has sensors 
    3125 sub guess_superio_ld($$$) 
     3125sub guess_superio_ld 
    31263126{ 
    31273127  my ($addrreg, $datareg, $typical_addr) = @_; 
     
    31543154} 
    31553155 
    3156 sub probe_superio($$$) 
     3156sub probe_superio 
    31573157{ 
    31583158  my ($addrreg, $datareg, $chip) = @_; 
     
    32933293 
    32943294 
    3295 sub scan_cpu($) 
     3295sub scan_cpu 
    32963296{ 
    32973297  my $entry = shift;