From ea8e6dbaab936272fbd73c1b0ce638408e8bbf24 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 3 Mar 2005 00:40:03 +0000 Subject: [PATCH] Made C++ safe. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11548 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../add-ons/kernel/file_systems/fs_shell/argv.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/tests/add-ons/kernel/file_systems/fs_shell/argv.h b/src/tests/add-ons/kernel/file_systems/fs_shell/argv.h index 0402ab2ce9..f2a881d3f9 100644 --- a/src/tests/add-ons/kernel/file_systems/fs_shell/argv.h +++ b/src/tests/add-ons/kernel/file_systems/fs_shell/argv.h @@ -1,2 +1,17 @@ +#ifndef FS_SHELL_ARGV_H +#define FS_SHELL_ARGV_H + +#ifdef __cplusplus +extern "C" { +#endif + + /* this function takes a string and chops it into individual "words" */ char **build_argv(char *str, int *argc); + + +#ifdef __cplusplus +} +#endif + +#endif // FS_SHELL_ARGV_H