aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/netrom.c')
-rw-r--r--lib/netrom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/netrom.c b/lib/netrom.c
index 1de9dc3..f3033c7 100644
--- a/lib/netrom.c
+++ b/lib/netrom.c
@@ -52,7 +52,7 @@ static char netrom_errmsg[128];
extern struct aftype netrom_aftype;
-static char *NETROM_print(unsigned char *ptr)
+static const char *NETROM_print(const char *ptr)
{
static char buff[8];
int i;
@@ -71,7 +71,7 @@ static char *NETROM_print(unsigned char *ptr)
/* Display an AX.25 socket address. */
-static char *NETROM_sprint(struct sockaddr *sap, int numeric)
+static const char *NETROM_sprint(struct sockaddr *sap, int numeric)
{
char buf[64];
if (sap->sa_family == 0xFFFF || sap->sa_family == 0)