X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Freadwrite.c;h=0e8684e260b59ea242bd708cf4f8a0105f814702;hp=8a0b347f717eb76647c2aa0e81238285b96646b4;hb=83f4233dde73280d45fcfb799add96cce32098ce;hpb=73ec1cf980a0685ef6443de2fb8ca9fae4a20da3 diff --git a/src/common/readwrite.c b/src/common/readwrite.c index 8a0b347f7..0e8684e26 100644 --- a/src/common/readwrite.c +++ b/src/common/readwrite.c @@ -15,7 +15,6 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -29,7 +28,7 @@ * Upon success, they return the "count" received as parameter. * They can return a negative value if an error occurs. * If a value lower than the requested "count" is returned, it means an - * error occured. + * error occurred. * The error can be checked by querying errno. */ LTTNG_HIDDEN