- Restructure the code
authorLiam J. Foy <liamfoy@dragonflybsd.org>
Mon, 13 Dec 2004 17:43:57 +0000 (17:43 +0000)
committerLiam J. Foy <liamfoy@dragonflybsd.org>
Mon, 13 Dec 2004 17:43:57 +0000 (17:43 +0000)
commit18bb907bac0bc8f30c854b497d8fa980f58f1f69
tree00a7725c6683b85b55f2aa3b125a4cb1933179dd
parent32be9eece100d7d89be218d85dd76d8bae6d8fdf
- Restructure the code
- Update functions to ANSI style
- Remove register
- Make variables const
- Remove filename, unnecessary (we can use argv)
- Avoid repeated checks on *argv
- If ferror returns an error, we must reset the error indicator
  with clearerr(). We must do this incase another error occurs
  on file ++argv
- Add WARNS 6
- Static functions
- Add $DragonFly$ tag to Makefile

OK'ed: Joerg@
usr.bin/rev/Makefile
usr.bin/rev/rev.c