Skip to content

Commit

Permalink
Spelling mistakes and remove some exports. If the exports are needed,…
Browse files Browse the repository at this point in the history
… fix in a clearner way
  • Loading branch information
lurcher committed May 8, 2018
1 parent 8656d0f commit 5d39999
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 5 additions & 5 deletions DRVConfig/txt/drvcfg.c
Expand Up @@ -19,7 +19,7 @@
/**********************************************
* STATIC LOOKUP VALUES
**********************************************/
static const char *aColumnSeperators[] =
static const char *aColumnSeparatorss[] =
{
"|",
",",
Expand Down Expand Up @@ -73,11 +73,11 @@ int ODBCINSTGetProperties( HODBCINSTPROPERTY hLastProperty )
hLastProperty->pNext = (HODBCINSTPROPERTY)calloc( 1, sizeof(ODBCINSTPROPERTY) );
hLastProperty = hLastProperty->pNext;
hLastProperty->nPromptType = ODBCINST_PROMPTTYPE_COMBOBOX;
hLastProperty->aPromptData = malloc( sizeof( aColumnSeperators ) );
memcpy( hLastProperty->aPromptData, aColumnSeperators, sizeof( aColumnSeperators ) );
strncpy( hLastProperty->szName, "ColumnSeperator", INI_MAX_PROPERTY_NAME );
hLastProperty->aPromptData = malloc( sizeof( aColumnSeparatorss ) );
memcpy( hLastProperty->aPromptData, aColumnSeparatorss, sizeof( aColumnSeparatorss ) );
strncpy( hLastProperty->szName, "ColumnSeparators", INI_MAX_PROPERTY_NAME );
strncpy( hLastProperty->szValue, "|", INI_MAX_PROPERTY_VALUE );
hLastProperty->pszHelp = strdup( "Column seperator character used in table files.\nCANNOT EXIST IN COLUMN VALUES." );
hLastProperty->pszHelp = strdup( "Column separator character used in table files.\nCANNOT EXIST IN COLUMN VALUES." );

return 1;
}
Expand Down
2 changes: 0 additions & 2 deletions DriverManager/DriverManager.exp
Expand Up @@ -153,8 +153,6 @@ SQLTablesW
SQLTablesA
SQLTransact
ODBCSharedTraceFlag
dm_log_write
__post_internal_error
uodbc_open_stats
uodbc_close_stats
uodbc_get_stats
Expand Down
2 changes: 1 addition & 1 deletion Drivers/Postgre7.1/md5.h
Expand Up @@ -21,7 +21,7 @@

#ifndef __cplusplus

#ifndef bool
#if !defined(bool) || defined(__APPLE_ALTIVEC__)
typedef char bool;
#endif

Expand Down

0 comments on commit 5d39999

Please sign in to comment.