diff options
| author | christos <christos@NetBSD.org> | 2017-01-12 18:42:53 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2017-01-12 18:42:53 +0000 |
| commit | bcbf705cc0c0b9e0fa9fcabeed16c7701df6b059 (patch) | |
| tree | 16af548b88317b6b107c0ebae9643056eb18f318 /include | |
| parent | c8e1a6a9faccc2e582639a6fa7f99a3ba6e8ab03 (diff) | |
Welcome to the constant age!
Diffstat (limited to 'include')
| -rw-r--r-- | include/arpa/ftp.h | 10 | ||||
| -rw-r--r-- | include/arpa/telnet.h | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/arpa/ftp.h b/include/arpa/ftp.h index 544e530f7ff..2cf207ebeee 100644 --- a/include/arpa/ftp.h +++ b/include/arpa/ftp.h @@ -1,4 +1,4 @@ -/* $NetBSD: ftp.h,v 1.6 2003/08/07 09:44:12 agc Exp $ */ +/* $NetBSD: ftp.h,v 1.7 2017/01/12 18:42:53 christos Exp $ */ /* * Copyright (c) 1983, 1989, 1993 @@ -54,7 +54,7 @@ #define TYPE_L 4 /* local byte size */ #ifdef FTP_NAMES -char *typenames[] = {"0", "ASCII", "EBCDIC", "Image", "Local" }; +const char *typenames[] = {"0", "ASCII", "EBCDIC", "Image", "Local" }; #endif /* @@ -64,7 +64,7 @@ char *typenames[] = {"0", "ASCII", "EBCDIC", "Image", "Local" }; #define FORM_T 2 /* telnet format effectors */ #define FORM_C 3 /* carriage control (ASA) */ #ifdef FTP_NAMES -char *formnames[] = {"0", "Nonprint", "Telnet", "Carriage-control" }; +const char *formnames[] = {"0", "Nonprint", "Telnet", "Carriage-control" }; #endif /* @@ -74,7 +74,7 @@ char *formnames[] = {"0", "Nonprint", "Telnet", "Carriage-control" }; #define STRU_R 2 /* record structure */ #define STRU_P 3 /* page structure */ #ifdef FTP_NAMES -char *strunames[] = {"0", "File", "Record", "Page" }; +const char *strunames[] = {"0", "File", "Record", "Page" }; #endif /* @@ -84,7 +84,7 @@ char *strunames[] = {"0", "File", "Record", "Page" }; #define MODE_B 2 /* block */ #define MODE_C 3 /* compressed */ #ifdef FTP_NAMES -char *modenames[] = {"0", "Stream", "Block", "Compressed" }; +const char *modenames[] = {"0", "Stream", "Block", "Compressed" }; #endif /* diff --git a/include/arpa/telnet.h b/include/arpa/telnet.h index 3cf2f1e3641..cbdf28d3d54 100644 --- a/include/arpa/telnet.h +++ b/include/arpa/telnet.h @@ -1,4 +1,4 @@ -/* $NetBSD: telnet.h,v 1.12 2006/01/24 17:13:59 christos Exp $ */ +/* $NetBSD: telnet.h,v 1.13 2017/01/12 18:42:53 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -231,11 +231,11 @@ extern const char *telopts[NTELOPTS+1]; 0 #ifdef SLC_NAMES -char *slc_names[] = { +const char *slc_names[] = { SLC_NAMELIST }; #else -extern char *slc_names[]; +extern const char *slc_names[]; #define SLC_NAMES SLC_NAMELIST #endif |
