From 804ac31f1d6158256bf9104986221af0e6759936 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Sat, 14 Mar 2009 12:39:43 -0700 Subject: [PATCH] hdt: Make handle_hdt_commands static Impact: None. handle_hdt_commands is only used in hdt-cli.c. Let's make it static. Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/hdt-cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c index c09d80b..fa14d73 100644 --- a/com32/hdt/hdt-cli.c +++ b/com32/hdt/hdt-cli.c @@ -108,8 +108,8 @@ static void set_mode(struct s_cli_mode *cli_mode, cli_mode_t mode, } } -void handle_hdt_commands(char *cli_line, struct s_cli_mode *cli_mode, - struct s_hardware *hardware) +static void handle_hdt_commands(char *cli_line, struct s_cli_mode *cli_mode, + struct s_hardware *hardware) { /* hdt cli mode specific commands */ if (!strncmp(cli_line, CLI_SHOW, sizeof(CLI_SHOW) - 1)) { -- 2.7.4