More compiler warnings.

This commit is contained in:
alanminko 2023-02-28 03:07:41 -08:00
parent 667326b18e
commit 91aaff2575
5 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View File

@ -11,6 +11,7 @@ lib/abc*
lib/m114*
lib/bip*
docs/
.vscode/
src/ext*
src/xxx/

View File

@ -261,7 +261,7 @@ void Abc_UtilsSource( Abc_Frame_t * pAbc )
******************************************************************************/
char * DateReadFromDateString( char * datestr )
{
static char result[25];
static char result[100];
char day[10];
char month[10];
char zone[10];

View File

@ -15,9 +15,10 @@
Revision [$Id: mapperLib.c,v 1.6 2005/01/23 06:59:44 alanmi Exp $]
***********************************************************************/
#define _BSD_SOURCE
//#define _BSD_SOURCE
#ifndef WIN32
#define _DEFAULT_SOURCE
#include <unistd.h>
#endif

View File

@ -16,9 +16,10 @@
***********************************************************************/
#define _BSD_SOURCE
//#define _BSD_SOURCE
#ifndef WIN32
#define _DEFAULT_SOURCE
#include <unistd.h>
#endif

View File

@ -48,7 +48,7 @@ typedef struct Dau_Sto_t_ Dau_Sto_t;
struct Dau_Sto_t_
{
int iVarUsed; // counter of used variables
char pOutput[DAU_MAX_STR]; // storage for reduced function
char pOutput[2*DAU_MAX_STR+10]; // storage for reduced function
char * pPosOutput; // place in the output
char pStore[DAU_MAX_VAR][DAU_MAX_STR]; // storage for definitions
char * pPosStore[DAU_MAX_VAR]; // place in the store