From: Daniele Basile Date: Thu, 19 Jan 2012 12:03:40 +0000 (+0100) Subject: Duplicate header file. X-Git-Url: https://codewiz.org/gitweb?p=bertos.git;a=commitdiff_plain;h=bb60c722116f1c8401cc4d5653c127d461df1c15 Duplicate header file. --- diff --git a/boards/triface/examples/triface/cmd_ctor.h b/boards/triface/examples/triface/cmd_ctor.h deleted file mode 100644 index e8288b85..00000000 --- a/boards/triface/examples/triface/cmd_ctor.h +++ /dev/null @@ -1,57 +0,0 @@ -/** - * \file - * - * - * \brief Macro for defining command for protocol. - * - * \author Marco Benelli - */ - -#ifndef CMD_CTOR_H -#define CMD_CTOR_H - -#include - -#define REGISTER_FUNCTION parser_register_cmd - -#define MAKE_TEMPLATE(NAME, ARGS, RES, FLAGS) \ -const struct CmdTemplate cmd_ ## NAME ## _template = \ -{ \ - #NAME, ARGS, RES, cmd_ ## NAME, FLAGS \ -}; - -#define MAKE_CMD(NAME, ARGS, RES, BODY, FLAGS) \ -static ResultCode cmd_ ## NAME (parms *args) \ -{ \ - return (ResultCode)BODY; \ -} \ -MAKE_TEMPLATE(NAME, ARGS, RES, FLAGS) - -#endif // CMD_CTOR_H