Show
Ignore:
Timestamp:
12/06/98 17:19:24 (14 years ago)
Author:
frodo
Message:

Better header files

* Header files isa.h, sensors.h and smbus.h will now be installed on a

'make install';

* #ifdef KERNEL added to the above header files where appropriate;
* Correct files are included, both if KERNEL is true and false.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/include/sensors.h

    r29 r42  
    2121#define SENSORS_SENSORS_H 
    2222 
     23#ifdef __KERNEL__ 
     24 
    2325/* Next two must be included before sysctl.h can be included, in 2.0 kernels */ 
    2426#include <linux/types.h> 
    2527#include <linux/fs.h> 
    2628#include <linux/sysctl.h> 
    27  
    28 #ifdef __KERNEL__ 
    2929 
    3030/* The type of callback functions used in sensors_{proc,sysctl}_real */