[PATCH 11/12] kern_ntptime: Add define in order to remove warning
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Apr 7 08:47:10 UTC 2022
On 07/04/2022 10:36, Gabriel Moyano wrote:
> ---
> cpukit/score/src/kern_ntptime.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/cpukit/score/src/kern_ntptime.c b/cpukit/score/src/kern_ntptime.c
> index d4a233f67e..d6ea739f5b 100644
> --- a/cpukit/score/src/kern_ntptime.c
> +++ b/cpukit/score/src/kern_ntptime.c
> @@ -58,6 +58,9 @@ __FBSDID("$FreeBSD$");
> #include <sys/time.h>
> #include <sys/timex.h>
> #include <sys/timetc.h>
> +#ifdef __rtems__
> +#define _KERNEL
> +#endif /* __rtems__ */
> #include <sys/timepps.h>
> #ifndef __rtems__
> #include <sys/syscallsubr.h>
Who is supposed to use the _KERNEL <sys/timepps.h.> API?
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list