From 7800fc4f4952d2537faf3304b740bab071ad7d50 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Sat, 14 Mar 2009 12:38:42 -0700 Subject: [PATCH] hdt: Make set_mode static Impact: None. set_mode 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 793fdb6..c09d80b 100644 --- a/com32/hdt/hdt-cli.c +++ b/com32/hdt/hdt-cli.c @@ -33,8 +33,8 @@ #include "hdt-cli.h" #include "hdt-common.h" -void set_mode(struct s_cli_mode *cli_mode, cli_mode_t mode, - struct s_hardware *hardware) +static void set_mode(struct s_cli_mode *cli_mode, cli_mode_t mode, + struct s_hardware *hardware) { switch (mode) { case EXIT_MODE: -- 2.7.4