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
|
||||
*/
|
||||
|
||||
#ifndef _SHELL_H_
|
||||
#define _SHELL_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -156,3 +159,4 @@ static inline int shell_run(struct device *dev)
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* _SHELL_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue