summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane2016-11-05 15:14:10 +0000
committerTom Lane2016-11-05 15:14:10 +0000
commit06f5fd2f4f3d0991af07456e7cf6632b4ad9d7e7 (patch)
tree18846cdadbb36f335d5ee6dbaaa18cf15913675f /src/include
parentd49cc588ca589cd378b5862fa5704eaade4a1380 (diff)
pgwin32_is_junction's argument should be "const char *" not "char *".
We're passing const strings to it in places, and that's not an unreasonable thing to do. Per buildfarm (noted on frogmouth in particular).
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port.h b/src/include/port.h
index b81fa4a89eb..8a63958535b 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -251,7 +251,7 @@ extern int pgunlink(const char *path);
#if defined(WIN32) && !defined(__CYGWIN__)
extern int pgsymlink(const char *oldpath, const char *newpath);
extern int pgreadlink(const char *path, char *buf, size_t size);
-extern bool pgwin32_is_junction(char *path);
+extern bool pgwin32_is_junction(const char *path);
#define symlink(oldpath, newpath) pgsymlink(oldpath, newpath)
#define readlink(path, buf, size) pgreadlink(path, buf, size)