comparison 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
comparison
equal deleted inserted replaced
282:8b6aba552f6f 283:d71e5e1f49cf
51 #include <sys/utsname.h> 51 #include <sys/utsname.h>
52 #include <unistd.h> 52 #include <unistd.h>
53 #include <utmpx.h> 53 #include <utmpx.h>
54 #endif 54 #endif
55 55
56 #include <ctype.h>
56 #include <stdlib.h> 57 #include <stdlib.h>
57 #include <string.h> 58 #include <string.h>
58 59
59 #if defined(_WIN32) && !defined(__MINGW32__) 60 #if defined(_WIN32) && !defined(__MINGW32__)
60 #define PATH_MAX MAX_PATH 61 #define PATH_MAX MAX_PATH
722 /* 723 /*
723 * unctrl: 724 * unctrl:
724 * Print a readable version of a certain character 725 * Print a readable version of a certain character
725 */ 726 */
726 727
727 char * 728 const char *
728 md_unctrl(char ch) 729 md_unctrl(char ch)
729 { 730 {
730 #if USG5_0 731 #if USG5_0
731 extern char *_unctrl[]; /* Defined in curses library */ 732 extern char *_unctrl[]; /* Defined in curses library */
732 733