Commit 3152ef63 authored by Bruce Momjian's avatar Bruce Momjian

Source alignment cleanups.

parent a952c79b
......@@ -17,8 +17,7 @@ extern "C"
{
#endif
DWORD
GetPrivateProfileString(char *theSection, /* section name */
DWORD GetPrivateProfileString(char *theSection, /* section name */
char *theKey, /* search key name */
char *theDefault, /* default value if not
* found */
......@@ -29,8 +28,7 @@ extern "C"
char *theIniFileName); /* pathname of ini file
* to search */
DWORD
WritePrivateProfileString(char *theSection, /* section name */
DWORD WritePrivateProfileString(char *theSection, /* section name */
char *theKey, /* write key name */
char *theBuffer, /* input buffer */
char *theIniFileName); /* pathname of ini file
......
......@@ -48,7 +48,7 @@ typedef signed short RETCODE;
#define SQL_VARCHAR 12
#define SQL_TYPE_MIN SQL_CHAR
#define SQL_TYPE_NULL 0
#define SQL_TYPE_NUL 0
#define SQL_TYPE_MAX SQL_VARCHAR
/* C to SQL datatype mapping */
......
......@@ -6,7 +6,7 @@
*
* Comments: See "notice.txt" for copyright and license information.
*
* $Id: psqlodbc.h,v 1.34 2001/02/11 05:13:51 momjian Exp $
* $Id: psqlodbc.h,v 1.35 2001/02/11 05:58:41 momjian Exp $
*/
#ifndef __PSQLODBC_H__
......
......@@ -50,8 +50,8 @@ typedef enum
STMT_EXECUTING /* statement execution is still going on */
} STMT_Status;
#define STMT_TRUNCATED -2
#define STMT_INFO_ONLY -1 /* not an error message, just a
#define STMT_TRUNCATED (-2)
#define STMT_INFO_ONLY (-1) /* not an error message, just a
* notification to be returned by SQLError */
#define STMT_OK 0 /* will be interpreted as "no error
* pending" */
......
......@@ -27,3 +27,6 @@ We get the list of typedef's included in pgindent by running:
/src/tools/find_typedef
Make sure to do the pgsql/bin directory, and the src/interfaces/odbc
directory. Merge the output of these and remove duplicates.
......@@ -37,6 +37,10 @@ do
indent -bad -bap -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l75 \
-lp -nip -npro $EXTRA_OPTS \
-TFAR \
-TDWORD \
-TBOOL \
-TRETCODE \
-TSQL_API \
-TA_Const \
-TA_Expr \
-TA_Indices \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment