Commit 4b5aef7e authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Anas Nashif
Browse files

shell: Add define to _SHELL_H_



This prevents the header to be included multiple times.

Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 1a8cd31d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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_ */