Changeset 168

Show
Ignore:
Timestamp:
01/14/99 01:41:44 (10 years ago)
Author:
frodo
Message:

Small fixes to make all programs compile cleanly with libc6.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r158 r168  
    134134endif 
    135135 
     136ifeq ($(I2C),1) 
     137CFLAGS += -DI2C 
     138endif 
     139 
    136140MODCFLAGS := $(CFLAGS) -D__KERNEL__ -DMODULE -fomit-frame-pointer 
    137141PROGCFLAGS := $(CFLAGS) 
     
    145149ifeq ($(MODVER),1) 
    146150MODCFLAGS += -DMODVERSIONS -include /usr/include/linux/modversions.h 
    147 endif 
    148  
    149 ifeq ($(I2C),1) 
    150 MODCFLAGS += -DI2C 
    151151endif 
    152152 
  • lm-sensors/trunk/TODO

    r160 r168  
    11Many, many things. Most notably: 
    22 
     3* Create wait-queues for bus locking instead of pure semaphores, to make 
     4  it more interactive 
    35* Check for block read/writes in smbus-on-i2c emulation code 
    46* Merge newest Simon Vogl archive 
  • lm-sensors/trunk/lib/conf-parse.y

    r119 r168  
    2929#include "error.h" 
    3030#include "conf.h" 
     31#include "access.h" 
    3132 
    3233/* These two functions are defined in conf-lex.l */ 
  • lm-sensors/trunk/prog/detect/i2cdetect.c

    r167 r168  
    1919*/ 
    2020 
     21#include <errno.h> 
     22#include <string.h> 
    2123#include <stdio.h> 
    2224#include <stdlib.h> 
  • lm-sensors/trunk/prog/dump/i2cdetect.c

    r167 r168  
    1919*/ 
    2020 
     21#include <errno.h> 
     22#include <string.h> 
    2123#include <stdio.h> 
    2224#include <stdlib.h> 
  • lm-sensors/trunk/prog/dump/i2cdump.c

    r166 r168  
    1818*/ 
    1919 
     20#include <errno.h> 
     21#include <string.h> 
    2022#include <stdio.h> 
    2123#include <stdlib.h> 
  • lm-sensors/trunk/prog/dump/isadump.c

    r144 r168  
    2222#include <unistd.h> 
    2323#include <asm/io.h> 
     24 
     25/* To keep glibc2 happy */ 
     26#ifdef __GLIBC__ 
     27#include <sys/perm.h> 
     28#endif 
    2429 
    2530char hexchar(int i)