libcompat: Clean up a bit, fix warnings and raise WARNS to 2.
authorSascha Wildner <saw@online.de>
Thu, 10 Dec 2015 18:16:09 +0000 (19:16 +0100)
committerSascha Wildner <saw@online.de>
Thu, 10 Dec 2015 18:17:37 +0000 (19:17 +0100)
commitbd23c1cdc31d1febaf24a29d216ed71864102b15
tree9808df0ae1719313396c3852d43d1fea58826ee7
parent3744c5da606612dd26b3309c7280d72167a0b469
libcompat: Clean up a bit, fix warnings and raise WARNS to 2.

* Remove K&R definitions for non-__STDC__ case.

* Add two defines to rexec.c which afaict were forgotten when the
  RFC 3542 support was added back in 2008 (5aa41e7ced). Or perhaps
  they were present somewhere else which has been removed since.

* Add braces.

* Remove unneeded CFLAGS.
lib/libcompat/4.1/ascftime.c
lib/libcompat/4.1/cftime.c
lib/libcompat/4.1/getpw.c
lib/libcompat/4.3/rexec.c
lib/libcompat/Makefile