summaryrefslogtreecommitdiff
path: root/lib/ipmi_tsol.c
diff options
context:
space:
mode:
authorAlexander Amelkin <alexander@amelkin.msk.ru>2018-07-25 15:58:00 +0300
committerAlexander Amelkin <alexander@amelkin.msk.ru>2018-07-25 15:58:00 +0300
commit6ee52071dd148811cc6c44f3c0d6b6ba34eb3964 (patch)
treefaa5f5298b6e3512d41f33210ed7d2ef11dcd901 /lib/ipmi_tsol.c
parent249e092967195b38b2fb466f310cc0b7611791b9 (diff)
downloadipmitool-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_tsol.c')
-rw-r--r--lib/ipmi_tsol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ipmi_tsol.c b/lib/ipmi_tsol.c
index d89bcfd..0d2235c 100644
--- a/lib/ipmi_tsol.c
+++ b/lib/ipmi_tsol.c
@@ -29,7 +29,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 _DEFAULT_SOURCE
#include <sys/types.h>
#include <sys/stat.h>