From 3fc888061f6adcd3eabe39ccec4f27d4eb45d78c Mon Sep 17 00:00:00 2001 From: Eduardo Habkost <ehabkost@redhat.com> Date: Thu, 17 Sep 2009 14:06:02 -0300 Subject: [PATCH 08/38] add three missing static modifiers for local functions RH-Author: Juan Quintela <quintela@redhat.com> Message-id: <fd635eac87d326285576982c8dad9a471a92cc1f.1249487147.git.quintela@redhat.com> Patchwork-id: 3174 O-Subject: [PATCH 07/38] add three missing static modifiers for local functions Bugzilla: 515749 RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com> RH-Acked-by: Luiz Capitulino <lcapitulino@redhat.com> RH-Acked-by: Kevin Wolf <kwolf@redhat.com> RH-Acked-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> --- qemu/vl.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> --- qemu/vl.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qemu/vl.c b/qemu/vl.c index 52fec74..3b9d26f 100644 --- a/qemu/vl.c +++ b/qemu/vl.c @@ -4942,7 +4942,7 @@ static int gethugepagesize(void) return hugepagesize; } -void *alloc_mem_area(size_t memory, unsigned long *len, const char *path) +static void *alloc_mem_area(size_t memory, unsigned long *len, const char *path) { char *filename; void *area; @@ -5001,7 +5001,7 @@ void *alloc_mem_area(size_t memory, unsigned long *len, const char *path) return area; } -void *qemu_alloc_physram(unsigned long memory) +static void *qemu_alloc_physram(unsigned long memory) { void *area = NULL; unsigned long map_len = memory; @@ -5039,7 +5039,7 @@ static void termsig_setup(void) #endif -int ksm_register_memory(void) +static int ksm_register_memory(void) { int fd; int ksm_fd; -- 1.6.3.rc4.29.g8146