[lldp-devel] [PATCH 04/10] vdp make function print_profile static

Thomas Richter tmricht at linux.vnet.ibm.com
Fri Apr 5 11:40:49 UTC 2013


Declare function print_profile static

Signed-off-by: Thomas Richter <tmricht at linux.vnet.ibm.com>
---
 include/lldp_vdp_cmds.h | 1 -
 lldp_vdp_cmds.c         | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/lldp_vdp_cmds.h b/include/lldp_vdp_cmds.h
index b2e1025..22bc96b 100644
--- a/include/lldp_vdp_cmds.h
+++ b/include/lldp_vdp_cmds.h
@@ -27,7 +27,6 @@
 #define _LLDP_VDP_CMDS_H
 
 struct arg_handlers *vdp_get_arg_handlers();
-char *print_profile(char *, size_t, struct vsi_profile *);
 
 enum {
        MODE = 0,
diff --git a/lldp_vdp_cmds.c b/lldp_vdp_cmds.c
index 43fce12..2574dc9 100644
--- a/lldp_vdp_cmds.c
+++ b/lldp_vdp_cmds.c
@@ -64,7 +64,7 @@ static char *check_and_update(size_t *total, size_t *length, char *s, int c)
 	return s + c;
 }
 
-char *print_profile(char *s, size_t length, struct vsi_profile *p)
+static char *print_profile(char *s, size_t length, struct vsi_profile *p)
 {
 	int c;
 	size_t	total = 0;
-- 
1.8.1.4



More information about the lldp-devel mailing list