~mellanoxofed/mlnxofedmlx4/trunk

Viewing all changes in revision 163.

  • Committer: Yishai Hadas
  • Author(s): Jason Gunthorpe
  • Date: 2016-09-19 11:22:11 UTC
  • Revision ID: git-v1:8aee6a7d2104395fb967fb52564adbb2dc2b83c4
Be explicit about _GNU_SOURCE

The recommended way to use this macro is at the top of the source
file, avoid globally setting it via 'gcc -D' as few source files actually
need it.

_GNU_SOURCE changes the behaviour of a few select calls away from
the C99 standard and should generally be minimized.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: