diff options
author | drh <drh@noemail.net> | 2004-06-19 15:22:56 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2004-06-19 15:22:56 +0000 |
commit | 998da3a287ef7ec59b52d7a1cc2246eb8e127fcb (patch) | |
tree | 4c64d240506b062ba20221b89325955d16cb21bd /src/sqliteInt.h | |
parent | a99db3b6accf3b7c0fb4c0a6a3585e2f69161713 (diff) | |
download | sqlite-998da3a287ef7ec59b52d7a1cc2246eb8e127fcb.tar.gz sqlite-998da3a287ef7ec59b52d7a1cc2246eb8e127fcb.zip |
Fix problems with the WatCom C compiler: Arrays must contain at least one
element. sqlite3FreeX declared properly. Don't allow run-time expression
(the SQLITE_UTF16NATIVE macro) in an array initializer. (CVS 1640)
FossilOrigin-Name: fbfc3c95a8abf25bb9e2b44cfeb7186c5b0591d7
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 18d91d2db..5848b074d 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.293 2004/06/19 14:49:12 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.294 2004/06/19 15:22:56 drh Exp $ */ #include "config.h" #include "sqlite3.h" @@ -1221,7 +1221,6 @@ void sqlite3RealToSortable(double r, char *); char *sqlite3StrDup_(const char*,char*,int); char *sqlite3StrNDup_(const char*, int,char*,int); void sqlite3CheckMemory(void*,int); - void sqlite3FreeX(void *p); #else void *sqlite3Malloc(int); void *sqlite3MallocRaw(int); @@ -1231,6 +1230,7 @@ void sqlite3RealToSortable(double r, char *); char *sqlite3StrNDup(const char*, int); # define sqlite3CheckMemory(a,b) #endif +void sqlite3FreeX(void*); char *sqlite3MPrintf(const char*, ...); char *sqlite3VMPrintf(const char*, va_list); void sqlite3DebugPrintf(const char*, ...); |