diff options
author | Alexander Amelkin <alexander@amelkin.msk.ru> | 2018-07-25 15:58:00 +0300 |
---|---|---|
committer | Alexander Amelkin <alexander@amelkin.msk.ru> | 2018-07-25 15:58:00 +0300 |
commit | 6ee52071dd148811cc6c44f3c0d6b6ba34eb3964 (patch) | |
tree | faa5f5298b6e3512d41f33210ed7d2ef11dcd901 /lib/ipmi_sdr.c | |
parent | 249e092967195b38b2fb466f310cc0b7611791b9 (diff) | |
download | ipmitool-6ee52071dd148811cc6c44f3c0d6b6ba34eb3964.tar.gz |
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.
Diffstat (limited to 'lib/ipmi_sdr.c')
-rw-r--r-- | lib/ipmi_sdr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ipmi_sdr.c b/lib/ipmi_sdr.c index b4eac1d..6795c9a 100644 --- a/lib/ipmi_sdr.c +++ b/lib/ipmi_sdr.c @@ -32,7 +32,6 @@ * LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, * EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. */ -#define _BSD_SOURCE #include <string.h> |