Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5ef3d4

Browse files
committed
Place function names in first column for consistency.
1 parent4299a92 commitf5ef3d4

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/1314:57:15 tgl Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/input.c,v 1.50 2006/02/1317: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-
voidpgadd_history(char*s,PQExpBufferhistory_buf)
116+
void
117+
pgadd_history(char*s,PQExpBufferhistory_buf)
117118
{
118119
#ifdefUSE_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-
voidpgflush_history(PQExpBufferhistory_buf)
138+
void
139+
pgflush_history(PQExpBufferhistory_buf)
138140
{
139141
#ifdefUSE_READLINE
140142
char*s;
@@ -172,7 +174,8 @@ void pgflush_history(PQExpBuffer history_buf)
172174
#endif
173175
}
174176

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

215218

216219
#ifdefUSE_READLINE
217-
staticvoidencode_history(void)
220+
staticvoid
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-
staticvoiddecode_history(void)
233+
staticvoid
234+
decode_history(void)
230235
{
231236
HIST_ENTRY*cur_hist;
232237
char*cur_ptr;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp