diff urogue/mdport.c @ 283:d71e5e1f49cf

Fix a few more compiler warnings.
author John "Elwin" Edwards
date Mon, 18 Sep 2017 19:36:14 -0400
parents 8b6aba552f6f
children 6376b514a30b
line wrap: on
line diff
--- a/urogue/mdport.c	Mon Sep 18 19:11:57 2017 -0400
+++ b/urogue/mdport.c	Mon Sep 18 19:36:14 2017 -0400
@@ -53,6 +53,7 @@
 #include <utmpx.h>
 #endif
 
+#include <ctype.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -724,7 +725,7 @@
  *	Print a readable version of a certain character
  */
 
-char *
+const char *
 md_unctrl(char ch)
 {
 #if USG5_0