summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/odbc/misc.h')
-rw-r--r--src/interfaces/odbc/misc.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/interfaces/odbc/misc.h b/src/interfaces/odbc/misc.h
index b9047f16ff5..b9e81d44642 100644
--- a/src/interfaces/odbc/misc.h
+++ b/src/interfaces/odbc/misc.h
@@ -1,11 +1,11 @@
-
-/* File: misc.h
- *
- * Description: See "misc.c"
- *
- * Comments: See "notice.txt" for copyright and license information.
- *
- */
+
+/* File: misc.h
+ *
+ * Description: See "misc.c"
+ *
+ * Comments: See "notice.txt" for copyright and license information.
+ *
+ */
#ifndef __MISC_H__
#define __MISC_H__
@@ -23,7 +23,7 @@
/* Uncomment Q_LOG to compile in the qlog() statements (Communications log, i.e. CommLog).
This logfile contains serious log statements that are intended for an
end user to be able to read and understand. It is controlled by the
- 'CommLog' flag in the ODBCINST.INI portion of the registry (see above),
+ 'CommLog' flag in the ODBCINST.INI portion of the registry (see above),
which is manipulated on the setup/connection dialog boxes.
*/
#define Q_LOG
@@ -42,7 +42,7 @@ void qlog(); /* prototype */
#endif
void remove_newlines(char *string);
-char *strncpy_null(char *dst, const char *src, size_t len);
+char *strncpy_null(char *dst, const char *src, int len);
char *trim(char *string);
char *make_string(char *s, int len, char *buf);
char *my_strcat(char *buf, char *fmt, char *s, int len);
@@ -53,6 +53,6 @@ char *my_strcat(char *buf, char *fmt, char *s, int len);
#define STRCPY_TRUNCATED -1
#define STRCPY_NULL -2
-int my_strcpy(char *dst, size_t dst_len, char *src, size_t src_len);
+int my_strcpy(char *dst, int dst_len, char *src, int src_len);
#endif