From 101a470068a62a70489797a3fdfa5084af80106e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 3 Apr 2006 15:46:14 +0000 Subject: [PATCH] - make append_option and multiconvert static. --- coreutils/printf.c | 2 +- modutils/modprobe.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coreutils/printf.c b/coreutils/printf.c index 706fd9c45..93b142765 100644 --- a/coreutils/printf.c +++ b/coreutils/printf.c @@ -54,7 +54,7 @@ static void print_direc (char *start, size_t length, int field_width, int precision, char *argument); typedef int (*converter)(char *arg, void *result); -void multiconvert(char *arg, void *result, converter convert) +static void multiconvert(char *arg, void *result, converter convert) { char s[16]; if (*arg == '"' || *arg == '\'') { diff --git a/modutils/modprobe.c b/modutils/modprobe.c index c16151537..8defd2854 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c @@ -133,7 +133,7 @@ static char *reads ( int fd, char *buffer, size_t len ) /* * This function appends an option to a list */ -struct mod_opt_t *append_option( struct mod_opt_t *opt_list, char *opt ) +static struct mod_opt_t *append_option( struct mod_opt_t *opt_list, char *opt ) { struct mod_opt_t *ol = opt_list;