Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f5ef3d4

Browse files
committed
Place function names in first column for consistency.
1 parent 4299a92 commit f5ef3d4

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

src/bin/psql/input.c

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.49 2006/02/13 14:57:15 tgl Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.50 2006/02/13 17:09:25 momjian Exp $
77
*/
88
#include "postgres_fe.h"
99

@@ -113,7 +113,8 @@ gets_interactive(const char *prompt)
113113

114114

115115
/* Put the line in the history buffer and also add the trailing \n */
116-
void pgadd_history(char *s, PQExpBuffer history_buf)
116+
void
117+
pgadd_history(char *s, PQExpBuffer history_buf)
117118
{
118119
#ifdef USE_READLINE
119120

@@ -134,7 +135,8 @@ void pgadd_history(char *s, PQExpBuffer history_buf)
134135

135136

136137
/* Feed the contents of the history buffer to readline */
137-
void pgflush_history(PQExpBuffer history_buf)
138+
void
139+
pgflush_history(PQExpBuffer history_buf)
138140
{
139141
#ifdef USE_READLINE
140142
char *s;
@@ -172,7 +174,8 @@ void pgflush_history(PQExpBuffer history_buf)
172174
#endif
173175
}
174176

175-
void pgclear_history(PQExpBuffer history_buf)
177+
void
178+
pgclear_history(PQExpBuffer history_buf)
176179
{
177180
#ifdef USE_READLINE
178181
if (useReadline && useHistory)
@@ -214,7 +217,8 @@ gets_fromFile(FILE *source)
214217

215218

216219
#ifdef USE_READLINE
217-
static void encode_history(void)
220+
static void
221+
encode_history(void)
218222
{
219223
HIST_ENTRY *cur_hist;
220224
char *cur_ptr;
@@ -226,7 +230,8 @@ static void encode_history(void)
226230
*cur_ptr = NL_IN_HISTORY;
227231
}
228232

229-
static void decode_history(void)
233+
static void
234+
decode_history(void)
230235
{
231236
HIST_ENTRY *cur_hist;
232237
char *cur_ptr;

0 commit comments

Comments
 (0)