On 03/19/15 17:22, Brian Callahan wrote: > CVSROOT: /cvs > Module name: src > Changes by: bcal...@cvs.openbsd.org 2015/03/19 15:22:15 > > Modified files: > usr.bin/mg : autoexec.c basic.c bell.c buffer.c chrdef.h > cinfo.c cmode.c cscope.c def.h dir.c dired.c > display.c echo.c extend.c file.c fileio.c > funmap.c grep.c help.c kbd.c keymap.c line.c > macro.c main.c match.c modes.c paragraph.c > random.c re_search.c region.c search.c spawn.c > tags.c theo.c tty.c ttyio.c ttykbd.c undo.c > version.c window.c word.c yank.c > Removed files: > usr.bin/mg : sysdef.h > > Log message: > Clean up the includes in mg. > This does the following: > Moves all POSIX headers from sysdef.h into the individual .c files so that > each file now only includes what it needs. All headers are properly sorted. > Moves the remainder of sysdef.h to other files (mostly def.h) and deletes > sysdef.h now that it's no longer contains anything. > Tweak a comment that references sysdef.h so that it no longer does that. > ok florian@ >
I should add this work was initially spurred on by an email to tech@ by Kamil Rytarowski http://marc.info/?l=openbsd-tech&m=142646192122255&w=2