mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-02 05:20:59 +02:00
Trailing spaces (#3738)
* fix typo in WiFiMulti * clean up trailing spaces * clean up script file used in cleaning Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
This commit is contained in:
@ -44,7 +44,7 @@ struct _pthread_cleanup_context {
|
||||
/* Register Fork Handlers */
|
||||
int _EXFUN(pthread_atfork,(void (*prepare)(void), void (*parent)(void),
|
||||
void (*child)(void)));
|
||||
|
||||
|
||||
/* Mutex Initialization Attributes, P1003.1c/Draft 10, p. 81 */
|
||||
|
||||
int _EXFUN(pthread_mutexattr_init, (pthread_mutexattr_t *__attr));
|
||||
@ -72,7 +72,7 @@ int _EXFUN(pthread_mutex_init,
|
||||
int _EXFUN(pthread_mutex_destroy, (pthread_mutex_t *__mutex));
|
||||
|
||||
/* This is used to statically initialize a pthread_mutex_t. Example:
|
||||
|
||||
|
||||
pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
|
||||
*/
|
||||
|
||||
@ -93,41 +93,41 @@ int _EXFUN(pthread_mutex_timedlock,
|
||||
#endif /* _POSIX_TIMEOUTS */
|
||||
|
||||
/* Condition Variable Initialization Attributes, P1003.1c/Draft 10, p. 96 */
|
||||
|
||||
|
||||
int _EXFUN(pthread_condattr_init, (pthread_condattr_t *__attr));
|
||||
int _EXFUN(pthread_condattr_destroy, (pthread_condattr_t *__attr));
|
||||
int _EXFUN(pthread_condattr_getpshared,
|
||||
(_CONST pthread_condattr_t *__attr, int *__pshared));
|
||||
int _EXFUN(pthread_condattr_setpshared,
|
||||
(pthread_condattr_t *__attr, int __pshared));
|
||||
|
||||
|
||||
/* Initializing and Destroying a Condition Variable, P1003.1c/Draft 10, p. 87 */
|
||||
|
||||
|
||||
int _EXFUN(pthread_cond_init,
|
||||
(pthread_cond_t *__cond, _CONST pthread_condattr_t *__attr));
|
||||
int _EXFUN(pthread_cond_destroy, (pthread_cond_t *__mutex));
|
||||
|
||||
|
||||
/* This is used to statically initialize a pthread_cond_t. Example:
|
||||
|
||||
|
||||
pthread_cond_t cond = PTHREAD_COND_INITIALIZER;
|
||||
*/
|
||||
|
||||
|
||||
#define PTHREAD_COND_INITIALIZER ((pthread_cond_t) 0xFFFFFFFF)
|
||||
|
||||
|
||||
/* Broadcasting and Signaling a Condition, P1003.1c/Draft 10, p. 101 */
|
||||
|
||||
|
||||
int _EXFUN(pthread_cond_signal, (pthread_cond_t *__cond));
|
||||
int _EXFUN(pthread_cond_broadcast, (pthread_cond_t *__cond));
|
||||
|
||||
|
||||
/* Waiting on a Condition, P1003.1c/Draft 10, p. 105 */
|
||||
|
||||
|
||||
int _EXFUN(pthread_cond_wait,
|
||||
(pthread_cond_t *__cond, pthread_mutex_t *__mutex));
|
||||
|
||||
|
||||
int _EXFUN(pthread_cond_timedwait,
|
||||
(pthread_cond_t *__cond, pthread_mutex_t *__mutex,
|
||||
_CONST struct timespec *__abstime));
|
||||
|
||||
|
||||
#if defined(_POSIX_THREAD_PRIORITY_SCHEDULING)
|
||||
|
||||
/* Thread Creation Scheduling Attributes, P1003.1c/Draft 10, p. 120 */
|
||||
@ -166,7 +166,7 @@ int _EXFUN(pthread_setschedparam,
|
||||
#if defined(_POSIX_THREAD_PRIO_INHERIT) || defined(_POSIX_THREAD_PRIO_PROTECT)
|
||||
|
||||
/* Mutex Initialization Scheduling Attributes, P1003.1c/Draft 10, p. 128 */
|
||||
|
||||
|
||||
int _EXFUN(pthread_mutexattr_setprotocol,
|
||||
(pthread_mutexattr_t *__attr, int __protocol));
|
||||
int _EXFUN(pthread_mutexattr_getprotocol,
|
||||
@ -214,14 +214,14 @@ int _EXFUN(pthread_attr_getguardsize,
|
||||
int _EXFUN(pthread_attr_setguardsize,
|
||||
(pthread_attr_t *__attr, size_t __guardsize));
|
||||
|
||||
/* POSIX thread APIs beyond the POSIX standard but provided
|
||||
/* POSIX thread APIs beyond the POSIX standard but provided
|
||||
* in GNU/Linux. They may be provided by other OSes for
|
||||
* compatibility.
|
||||
*/
|
||||
#if defined(__GNU_VISIBLE)
|
||||
#if defined(__rtems__)
|
||||
#if defined(__rtems__)
|
||||
int _EXFUN(pthread_attr_setaffinity_np,
|
||||
(pthread_attr_t *__attr, size_t __cpusetsize,
|
||||
(pthread_attr_t *__attr, size_t __cpusetsize,
|
||||
const cpu_set_t *__cpuset));
|
||||
int _EXFUN(pthread_attr_getaffinity_np,
|
||||
(const pthread_attr_t *__attr, size_t __cpusetsize,
|
||||
@ -266,13 +266,13 @@ int _EXFUN(pthread_equal, (pthread_t __t1, pthread_t __t2));
|
||||
/* Dynamic Package Initialization */
|
||||
|
||||
/* This is used to statically initialize a pthread_once_t. Example:
|
||||
|
||||
|
||||
pthread_once_t once = PTHREAD_ONCE_INIT;
|
||||
|
||||
|
||||
NOTE: This is named inconsistently -- it should be INITIALIZER. */
|
||||
|
||||
|
||||
#define PTHREAD_ONCE_INIT { 1, 0 } /* is initialized and not run */
|
||||
|
||||
|
||||
int _EXFUN(pthread_once,
|
||||
(pthread_once_t *__once_control, void (*__init_routine)(void)));
|
||||
|
||||
@ -350,12 +350,12 @@ void _EXFUN(_pthread_cleanup_pop_restore,
|
||||
#endif /* defined(_GNU_SOURCE) */
|
||||
|
||||
#if defined(_POSIX_THREAD_CPUTIME)
|
||||
|
||||
|
||||
/* Accessing a Thread CPU-time Clock, P1003.4b/D8, p. 58 */
|
||||
|
||||
|
||||
int _EXFUN(pthread_getcpuclockid,
|
||||
(pthread_t __pthread_id, clockid_t *__clock_id));
|
||||
|
||||
|
||||
#endif /* defined(_POSIX_THREAD_CPUTIME) */
|
||||
|
||||
|
||||
@ -394,7 +394,7 @@ int _EXFUN(pthread_spin_unlock, (pthread_spinlock_t *__spinlock));
|
||||
#if defined(_POSIX_READER_WRITER_LOCKS)
|
||||
|
||||
/* This is used to statically initialize a pthread_rwlock_t. Example:
|
||||
|
||||
|
||||
pthread_mutex_t mutex = PTHREAD_RWLOCK_INITIALIZER;
|
||||
*/
|
||||
|
||||
|
Reference in New Issue
Block a user