projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a84a320
)
hdt: Make set_mode static
author
Pierre-Alexandre Meyer
<pierre@mouraf.org>
Sat, 14 Mar 2009 19:38:42 +0000
(12:38 -0700)
committer
Pierre-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
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-cli.c
b/com32/hdt/hdt-cli.c
index
793fdb6
..
c09d80b
100644
(file)
--- 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: