aboutsummaryrefslogtreecommitdiff
path: root/lib/x25.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/x25.c')
-rw-r--r--lib/x25.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/x25.c b/lib/x25.c
index 1ffb569..d795ca9 100644
--- a/lib/x25.c
+++ b/lib/x25.c
@@ -50,8 +50,8 @@ extern struct aftype x25_aftype;
#endif
-static char *
-X25_print(unsigned char *ptr)
+static const char *
+X25_print(const char *ptr)
{
static char buff[X25_ADDR_LEN+1];
@@ -63,7 +63,7 @@ X25_print(unsigned char *ptr)
/* Display an X.25 socket address. */
-static char *
+static const char *
X25_sprint(struct sockaddr *sap, int numeric)
{
if (sap->sa_family == 0xFFFF || sap->sa_family == 0)