Here is a patch for another round of cleanup. This gets rid of warnings for
strcmp, strlen, and printf.

 * include/printf.h  New file
 * include/string.h New declarations:
   *  strcmp, strlen, strncmp, strcpy, strncopy, strsep, strchr, strrchar
 * chips/busses.c  Include string.h and printf.h
 * ipc/ipc_entry.c Include printf.h
 * ipc/ipc_hash.c  Likewise
 * ipc/ipc_kmsg.c Likewise
 * ipc/ipc_notify.c Likewise
 * ipc/ipc_object.c Likewise
 * ipc/ipc_port.c Likewise
 * ipc/ipc_pset.c Likewise
 * ipc/mach_msg.c Likewise
 * ipc/mach_port.c Likewise
 * ipc/mach_rpc.c Likewise
 * kern/debug.c Likewise
 * kern/eventcount.c Likewise
 * kern/ipc_kobject.c Likewise
 * kern/pc_sample.c Likewise
 * kern/sched_prim.c Likewise
 * kern/thread.c Likewise
 * kern/zalloc.c Likewise
 * vm/vm_fault.c Likewise
 * vm/vm_map.c Likewise
 * vm/vm_object.c Likewise
 * vm/vm_resident.c Likewise
 * kern/bootstrap.c Include printf.h, remove include for kern/strings.h
 * kern/printf.c Likewise
 * kern/strings.c Include sys/types.h, string.h, remove include for
kern/strings.h

If it looks OK, please commit.

Thank you,

Barry deFreese (aka bddebian)


OK, I updated this to use include/printf.h instead of include/stdio.h.


Thanks,

Barry

Attachment: gnumach_clean_2.1.diff
Description: Binary data

_______________________________________________
Bug-hurd mailing list
Bug-hurd@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-hurd

Reply via email to