From: nishi Date: Tue, 21 May 2024 02:54:08 +0000 (+0000) Subject: works with watcom X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=63c6b7a6390ffd48970e4ebf1c5c918ee0ca973d;p=dataworks.git works with watcom git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@49 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- diff --git a/Library/database.c b/Library/database.c index 9fc9c75..ce64a4d 100644 --- a/Library/database.c +++ b/Library/database.c @@ -67,10 +67,10 @@ int dataworks_database_create(const char* fname) { fwrite(nul, 1, 1, f); int j; #ifdef BUFSIZE - for(j = 0; j < 256 / BUFSIZE; j++){ + for(j = 0; j < 256 / BUFSIZE; j++) { fwrite(nul, 1, BUFSIZE, f); } - for(j = 0; j < 4096 / BUFSIZE; j++){ + for(j = 0; j < 4096 / BUFSIZE; j++) { fwrite(nul, 1, BUFSIZE, f); } #else diff --git a/Library/dw_database.h b/Library/dw_database.h index 41ab2b7..99924ba 100644 --- a/Library/dw_database.h +++ b/Library/dw_database.h @@ -84,7 +84,7 @@ struct dataworks_db_v1_indexentry { char dbname[256]; char fields[4096]; }; - + /** * @~english * @brief Creates the database.