Refactoring. Remove useless feature test macros.

There are lots of feature test macros like _POSIX_SOURCE,
_BSD_SOURCE, etc. chaotically placed at the beginning of
multiple files without apparent reason, sometime purely
erroneously.

This commit removes them all for the sake of cleaner code.

No new warnings are added due to that at least for gcc 5.4
on Linux with glibc 2.23.
This commit is contained in:
Alexander Amelkin
2018-07-25 15:58:00 +03:00
parent 249e092967
commit 6ee52071dd
23 changed files with 0 additions and 51 deletions

View File

@@ -30,8 +30,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#define _BSD_SOURCE
#include <ipmitool/helper.h>
#include <ipmitool/log.h>
#include <ipmitool/bswap.h>