From 579ee114b199b727c1097a2304c9577c8ae82192 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 21 Dec 2013 13:50:13 +0100 Subject: [PATCH] Add missing static qualifiers. --- ChangeLog | 4 ++++ grub-core/osdep/linux/getroot.c | 2 +- util/grub-install-common.c | 2 +- util/grub-install.c | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8aa193a5b..a0c0793bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-12-21 Vladimir Serbinenko + + Add missing static qualifiers. + 2013-12-21 Vladimir Serbinenko Add missing includes. diff --git a/grub-core/osdep/linux/getroot.c b/grub-core/osdep/linux/getroot.c index 786863527..772de0a9b 100644 --- a/grub-core/osdep/linux/getroot.c +++ b/grub-core/osdep/linux/getroot.c @@ -888,7 +888,7 @@ grub_util_part_to_disk (const char *os_dev, struct stat *st, return path; } -char * +static char * grub_util_get_raid_grub_dev (const char *os_dev) { char *grub_dev = NULL; diff --git a/util/grub-install-common.c b/util/grub-install-common.c index b34b8dcf2..48f9014d4 100644 --- a/util/grub-install-common.c +++ b/util/grub-install-common.c @@ -120,7 +120,7 @@ grub_install_copy_file (const char *src, return 1; } -int +static int grub_install_compress_file (const char *in_name, const char *out_name, int is_needed) diff --git a/util/grub-install.c b/util/grub-install.c index fa6f6248b..e80e26abb 100644 --- a/util/grub-install.c +++ b/util/grub-install.c @@ -536,7 +536,7 @@ is_same_disk (const char *a, const char *b) } } -char * +static char * get_rndstr (void) { grub_uint8_t rnd[15];