summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian2004-05-14 17:04:48 +0000
committerBruce Momjian2004-05-14 17:04:48 +0000
commit9f944f04431882fb0a3cea87451eccb9d3aac7f5 (patch)
tree2b11c11e7b3a6cbf854fe5460e50e9c56b1d6db0 /src/include
parent550735cd735ea1c07c12f34a863780a178c1e547 (diff)
Adjust find_my_exec/find_other_exec() so that the return parameter is
last, not first. This fits our style better.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/port.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/port.h b/src/include/port.h
index a037ac1f5f4..ca184bd98c9 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/port.h,v 1.30 2004/05/12 13:38:48 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/port.h,v 1.31 2004/05/14 17:04:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -28,9 +28,9 @@ extern void canonicalize_path(char *path);
extern const char *get_progname(const char *argv0);
/* Portable way to find binaries */
-extern int find_my_exec(char *full_path, const char *argv0);
-extern int find_other_exec(char *retpath, const char *argv0,
- char const *target, const char *versionstr);
+extern int find_my_exec(const char *argv0, char *full_path);
+extern int find_other_exec(const char *argv0, char const *target,
+ const char *versionstr, char *retpath);
#if defined(__CYGWIN__) || defined(WIN32)
#define EXE ".exe"