hdt: Make set_mode static
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sat, 14 Mar 2009 19:38:42 +0000 (12:38 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Sat, 14 Mar 2009 22:31:23 +0000 (15:31 -0700)
Impact: None.

set_mode is only used in hdt-cli.c. Let's make it static.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli.c

index 793fdb6..c09d80b 100644 (file)
@@ -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: