cvs commit: src/lib/libkinfo kinfo.h kinfo_pcpu.c kinfo_pcpu.h kinfo_sched.c

Hiten Pandya hmp at crater.dragonflybsd.org
Wed Apr 27 09:17:24 PDT 2005


hmp         2005/04/27 09:16:30 PDT

DragonFly src repository

  Modified files:
    lib/libkinfo         kinfo.h kinfo_pcpu.c kinfo_pcpu.h 
                         kinfo_sched.c 
  Log:
  KINFO library cleanups:
  
  	(a) stop including <sys/param.h> from kinfo_pcpu.h and kinfo.h
  
  	(b) remove useless include guards
  
  	(c) use _DIAGASSERT for enforcing interface requirements
  
  	(d) substitute use of relloc(3) with reallocf(3) to guard from
  	    memory leaks.
  
  Requested-by:	Joerg Sonnenberger <joerg at xxxxxxxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.6       +0 -7      src/lib/libkinfo/kinfo.h
  1.2       +2 -0      src/lib/libkinfo/kinfo_pcpu.c
  1.2       +0 -4      src/lib/libkinfo/kinfo_pcpu.h
  1.3       +3 -5      src/lib/libkinfo/kinfo_sched.c


http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo_pcpu.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo_pcpu.h.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libkinfo/kinfo_sched.c.diff?r1=1.2&r2=1.3&f=u





More information about the Commits mailing list