source: rtems/cpukit/libcsupport/src/getreentglobal.c

Last change on this file was bcef89f2, checked in by Sebastian Huber <sebastian.huber@…>, on 05/19/23 at 06:18:25

Update company name

The embedded brains GmbH & Co. KG is the legal successor of embedded
brains GmbH.

  • Property mode set to 100644
File size: 440 bytes
Line 
1/*
2 * Copyright (c) 2018 embedded brains GmbH & Co. KG
3 *
4 * The license and distribution terms for this file may be
5 * found in the file LICENSE in this distribution or at
6 * http://www.rtems.com/license/LICENSE.
7 */
8
9#ifdef HAVE_CONFIG_H
10#include "config.h"
11#endif
12
13#include <rtems.h>
14
15#if defined(RTEMS_NEWLIB)
16#include <sys/reent.h>
17
18#ifndef _REENT_THREAD_LOCAL
19struct _reent *__getreent(void)
20{
21  return _GLOBAL_REENT;
22}
23#endif
24#endif
Note: See TracBrowser for help on using the repository browser.