aboutsummaryrefslogtreecommitdiff
path: root/src/common/file_utils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-05-07 13:44:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-05-07 13:44:09 -0400
commit513ff52e81675f26ceb91e8301019546439d73c9 (patch)
tree004397a3b54561b06d6fcb696b10b99c4fa0f664 /src/common/file_utils.c
parentf34f0e4c58a31e5edd3aa8a23e171fbcf7e01ff2 (diff)
downloadpostgresql-513ff52e81675f26ceb91e8301019546439d73c9.tar.gz
postgresql-513ff52e81675f26ceb91e8301019546439d73c9.zip
Suppress compiler warnings when building with --enable-dtrace.
Most versions of "dtrace -h" drop const qualifiers from the declarations of probe functions (though macOS gets it right). This causes compiler warnings when we pass in pointers to const. Repair by extending our existing post-processing of the probes.h file. To do so, assume that all "char *" arguments should be "const char *"; that seems reasonably safe. Thomas Munro Discussion: https://postgr.es/m/CAEepm=2j1pWSruQJqJ91ZDzD8w9ZZDsM4j2C6x75C-VryWg-_w@mail.gmail.com
Diffstat (limited to 'src/common/file_utils.c')
0 files changed, 0 insertions, 0 deletions