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:
Luiz Augusto von Dentz 2017-06-01 15:01:49 +03:00 committed by Anas Nashif
commit 4b5aef7ee4

View file

@ -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_ */