summaryrefslogtreecommitdiff
path: root/src/include/lib
diff options
context:
space:
mode:
authorBruce Momjian2001-10-25 05:50:21 +0000
committerBruce Momjian2001-10-25 05:50:21 +0000
commitb81844b1738c584d92330a5ccd0fbd8b603d2886 (patch)
tree4fae0d4cd26048177fc5cd1a2dd91abc99ba0f99 /src/include/lib
parent59da2105d8e6d95345b3b942a2e2aba8cead4838 (diff)
pgindent run on all C files. Java run to follow. initdb/regression
tests pass.
Diffstat (limited to 'src/include/lib')
-rw-r--r--src/include/lib/dllist.h5
-rw-r--r--src/include/lib/lispsort.h3
-rw-r--r--src/include/lib/stringinfo.h6
3 files changed, 6 insertions, 8 deletions
diff --git a/src/include/lib/dllist.h b/src/include/lib/dllist.h
index 42e500fa056..61335920790 100644
--- a/src/include/lib/dllist.h
+++ b/src/include/lib/dllist.h
@@ -34,7 +34,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: dllist.h,v 1.16 2001/03/22 04:00:46 momjian Exp $
+ * $Id: dllist.h,v 1.17 2001/10/25 05:49:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -66,7 +66,7 @@ extern void DLFreeList(Dllist *list); /* free up a list and all the
extern Dlelem *DLNewElem(void *val);
extern void DLInitElem(Dlelem *e, void *val);
extern void DLFreeElem(Dlelem *e);
-extern void DLRemove(Dlelem *e);/* removes node from list */
+extern void DLRemove(Dlelem *e); /* removes node from list */
extern void DLAddHead(Dllist *list, Dlelem *node);
extern void DLAddTail(Dllist *list, Dlelem *node);
extern Dlelem *DLRemHead(Dllist *list); /* remove and return the head */
@@ -81,5 +81,4 @@ extern void DLMoveToFront(Dlelem *e); /* move node to front of its list */
#define DLGetListHdr(elem) ((elem)->dle_list)
#define DLE_VAL(elem) ((elem)->dle_val)
-
#endif /* DLLIST_H */
diff --git a/src/include/lib/lispsort.h b/src/include/lib/lispsort.h
index 9d721313143..13228cfd2a0 100644
--- a/src/include/lib/lispsort.h
+++ b/src/include/lib/lispsort.h
@@ -7,11 +7,10 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: lispsort.h,v 1.7 2001/01/24 19:43:24 momjian Exp $
+ * $Id: lispsort.h,v 1.8 2001/10/25 05:49:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef LISPSORT_H
#define LISPSORT_H
-
#endif /* LISPSORT_H */
diff --git a/src/include/lib/stringinfo.h b/src/include/lib/stringinfo.h
index 6f1406ff161..fc6e2031a9f 100644
--- a/src/include/lib/stringinfo.h
+++ b/src/include/lib/stringinfo.h
@@ -10,7 +10,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: stringinfo.h,v 1.20 2001/10/03 21:58:28 tgl Exp $
+ * $Id: stringinfo.h,v 1.21 2001/10/25 05:49:59 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -81,7 +81,8 @@ extern void initStringInfo(StringInfo str);
* to str if necessary. This is sort of like a combination of sprintf and
* strcat.
*/
-extern void appendStringInfo(StringInfo str, const char *fmt, ...)
+extern void
+appendStringInfo(StringInfo str, const char *fmt,...)
/* This extension allows gcc to check the format string */
__attribute__((format(printf, 2, 3)));
@@ -109,5 +110,4 @@ extern void appendStringInfoChar(StringInfo str, char ch);
*/
extern void appendBinaryStringInfo(StringInfo str,
const char *data, int datalen);
-
#endif /* STRINGINFO_H */