summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/gpps.c
diff options
context:
space:
mode:
authorHiroshi Inoue2001-09-08 02:28:41 +0000
committerHiroshi Inoue2001-09-08 02:28:41 +0000
commit4ad1b5b766c574efd5c60dcd1017d0b2538b9e96 (patch)
tree48d6ff0cf879faa6f7163c7a7542acfef3c5a72b /src/interfaces/odbc/gpps.c
parent02b1a7fd5160d4117973527dc6d4214cd225a97c (diff)
Resolve compile errors on unix.
Rename psqlodbc.def -> psqlodbc_win32.def. Improve internal *declare cursor* handling a little. Hiroshi Inoue
Diffstat (limited to 'src/interfaces/odbc/gpps.c')
-rw-r--r--src/interfaces/odbc/gpps.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/interfaces/odbc/gpps.c b/src/interfaces/odbc/gpps.c
index 4b13fbe62e5..450f0b1e505 100644
--- a/src/interfaces/odbc/gpps.c
+++ b/src/interfaces/odbc/gpps.c
@@ -51,15 +51,15 @@
* ODBCINST_INI
*/
DWORD
-GetPrivateProfileString(char *theSection, /* section name */
- char *theKey, /* search key name */
- char *theDefault, /* default value if not
+GetPrivateProfileString(const char *theSection, /* section name */
+ const char *theKey, /* search key name */
+ const char *theDefault, /* default value if not
* found */
char *theReturnBuffer, /* return value stored
* here */
size_t theReturnBufferLength, /* byte length of return
* buffer */
- char *theIniFileName) /* pathname of ini file to
+ const char *theIniFileName) /* pathname of ini file to
* search */
{
char buf[MAXPGPATH];
@@ -273,10 +273,10 @@ GetPrivateProfileString(char *theSection, /* section name */
DWORD
-WritePrivateProfileString(char *theSection, /* section name */
- char *theKey, /* write key name */
- char *theBuffer, /* input buffer */
- char *theIniFileName) /* pathname of ini file to
+WritePrivateProfileString(const char *theSection, /* section name */
+ const char *theKey, /* write key name */
+ const char *theBuffer, /* input buffer */
+ const char *theIniFileName) /* pathname of ini file to
* write */
{
return 0;