diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-09-19 14:10:33 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-05 14:29:01 +0200 |
commit | 47b1e31f119a5830976bc16d9495d6ccb27a909a (patch) | |
tree | 5efbb7375c3627999b60c7642b24481b154b3f0e /cpukit/score/include/rtems/score/onceimpl.h | |
parent | Enforce compatible Newlib version (diff) | |
download | rtems-47b1e31f119a5830976bc16d9495d6ccb27a909a.tar.bz2 |
posix: Optimize pthread_once_t
Reduce size of pthread_once_t and make it zero-initialized.
Update #3142.
Diffstat (limited to 'cpukit/score/include/rtems/score/onceimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/onceimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/onceimpl.h b/cpukit/score/include/rtems/score/onceimpl.h index d81f1d0b31..21e9edade5 100644 --- a/cpukit/score/include/rtems/score/onceimpl.h +++ b/cpukit/score/include/rtems/score/onceimpl.h @@ -37,7 +37,7 @@ extern "C" { * @{ */ -int _Once( int *once_state, void (*init_routine)(void) ); +int _Once( unsigned char *once_state, void (*init_routine)(void) ); /** @} */ |