1 /*
2  * Copyright (c) 2021 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef _GETOPT_COMMON_H__
8 #define _GETOPT_COMMON_H__
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 /* This function is not thread safe. All threads using getopt are calling
15  * this function.
16  */
17 void z_getopt_global_state_update(struct getopt_state *state);
18 
19 #ifdef __cplusplus
20 }
21 #endif
22 
23 #endif /* _GETOPT_COMMON_H__ */
24