diff options
author | Antonin Décimo <antonin@tarides.com> | 2023-05-08 18:05:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-08 19:05:39 +0200 |
commit | d7ced7e6b0ac2b03fda7b0bcc29c46fef26f71c9 (patch) | |
tree | 57ac1d372e882d477d8c2133c7656c54b74f0765 /otherlibs/unix/getnameinfo.c | |
parent | 683d0ca1de0b8bea7ae9e62cc2415a576b6e35b8 (diff) | |
download | ocaml-d7ced7e6b0ac2b03fda7b0bcc29c46fef26f71c9.tar.gz |
Constify C constructors and flags tables (#12223)
Diffstat (limited to 'otherlibs/unix/getnameinfo.c')
-rw-r--r-- | otherlibs/unix/getnameinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/unix/getnameinfo.c b/otherlibs/unix/getnameinfo.c index bc7be72463..304c2576e2 100644 --- a/otherlibs/unix/getnameinfo.c +++ b/otherlibs/unix/getnameinfo.c @@ -29,7 +29,7 @@ #include <netdb.h> #endif -static int getnameinfo_flag_table[] = { +static const int getnameinfo_flag_table[] = { NI_NOFQDN, NI_NUMERICHOST, NI_NAMEREQD, NI_NUMERICSERV, NI_DGRAM }; |