shell: Add define to _SHELL_H_
This prevents the header to be included multiple times. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
1a8cd31d64
commit
4b5aef7ee4
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,9 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _SHELL_H_
|
||||||
|
#define _SHELL_H_
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@ -156,3 +159,4 @@ static inline int shell_run(struct device *dev)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* _SHELL_H_ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue