From 63c6b7a6390ffd48970e4ebf1c5c918ee0ca973d Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 21 May 2024 02:54:08 +0000 Subject: [PATCH] works with watcom git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@49 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Library/database.c | 4 ++-- Library/dw_database.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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. -- 2.43.0