- make append_option and multiconvert static.
This commit is contained in:
parent
ebd1355828
commit
101a470068
@ -54,7 +54,7 @@ static void print_direc (char *start, size_t length,
|
|||||||
int field_width, int precision, char *argument);
|
int field_width, int precision, char *argument);
|
||||||
|
|
||||||
typedef int (*converter)(char *arg, void *result);
|
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];
|
char s[16];
|
||||||
if (*arg == '"' || *arg == '\'') {
|
if (*arg == '"' || *arg == '\'') {
|
||||||
|
@ -133,7 +133,7 @@ static char *reads ( int fd, char *buffer, size_t len )
|
|||||||
/*
|
/*
|
||||||
* This function appends an option to a list
|
* 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;
|
struct mod_opt_t *ol = opt_list;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user