Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1430204

Re: [PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to the Make system

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to the Make system
Date 2016-06-23 23:50 +0200
Message-ID <rNkFz-7yS-5@gated-at.bofh.it> (permalink)
References <rNbLX-1pt-7@gated-at.bofh.it> <rNbLX-1pt-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 23 Jun 2016 14:11:51 +0200
John Kacur <jkacur@redhat.com> wrote:


> index 9c50456f7419..f530488545e0 100644
> --- a/src/sched_deadline/cyclicdeadline.c
> +++ b/src/sched_deadline/cyclicdeadline.c
> @@ -1,4 +1,6 @@
> +#ifndef _GNU_SOURCE
>  #define _GNU_SOURCE
> +#endif
>  #include <pthread.h>
>  #include <stdarg.h>
>  #include <stdlib.h>
> diff --git a/src/sched_deadline/deadline_test.c b/src/sched_deadline/deadline_test.c
> index 8a813c494520..2794730febc4 100644
> --- a/src/sched_deadline/deadline_test.c
> +++ b/src/sched_deadline/deadline_test.c
> @@ -29,7 +29,9 @@
>   *    Look for "simple_test"
>   *
>   */
> +#ifndef _GNU_SOURCE
>  #define _GNU_SOURCE
> +#endif

I'd say nuke these if they are already defined via the Makefile or
something. I can move the define to the Makefile in my github too.

-- Steve

>  #include <pthread.h>
>  #include <stdarg.h>
>  #include <stdlib.h>

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to the Make system John Kacur <jkacur@redhat.com> - 2016-06-23 14:20 +0200
  Re: [PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to  the Make system Steven Rostedt <rostedt@goodmis.org> - 2016-06-23 23:50 +0200
    Re: [PATCH 3/3] rt-tests: Add cyclicdeadline and deadline_test to  the Make system John Kacur <jkacur@redhat.com> - 2016-06-24 13:50 +0200

csiph-web