Skip to content

Commit bdafb40

Browse files
committed
Clean up comment in libpgeasy.
1 parent 3aaaf5a commit bdafb40

File tree

1 file changed

+48
-48
lines changed

1 file changed

+48
-48
lines changed

src/interfaces/libpgeasy/libpgeasy.c

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* pgeasy.c
33
*
4-
*/
4+
*/
55

66
#include <stdio.h>
77
#include <string.h>
@@ -39,10 +39,10 @@ static int was_get_unset_result = FALSE;
3939
static int tuple;
4040

4141
/*
42-
**
43-
** connectdb - returns PGconn structure
44-
**
45-
*/
42+
*
43+
* connectdb - returns PGconn structure
44+
*
45+
*/
4646
PGconn *
4747
connectdb(char *options)
4848
{
@@ -55,10 +55,10 @@ connectdb(char *options)
5555
}
5656

5757
/*
58-
**
59-
** disconnectdb
60-
**
61-
*/
58+
*
59+
* disconnectdb
60+
*
61+
*/
6262
void
6363
disconnectdb()
6464
{
@@ -71,10 +71,10 @@ disconnectdb()
7171
}
7272

7373
/*
74-
**
75-
** doquery - returns PGresult structure
76-
**
77-
*/
74+
*
75+
* doquery - returns PGresult structure
76+
*
77+
*/
7878
PGresult *
7979
doquery(char *query)
8080
{
@@ -104,11 +104,11 @@ doquery(char *query)
104104
}
105105

106106
/*
107-
**
108-
** fetch - returns tuple number (starts at 0), or the value END_OF_TUPLES
109-
** NULL pointers are skipped
110-
**
111-
*/
107+
*
108+
* fetch - returns tuple number (starts at 0), or the value END_OF_TUPLES
109+
* NULL pointers are skipped
110+
*
111+
*/
112112
int
113113
fetch(void *param,...)
114114
{
@@ -141,12 +141,12 @@ fetch(void *param,...)
141141
}
142142

143143
/*
144-
**
145-
** fetchwithnulls - returns tuple number (starts at 0),
146-
** or the value END_OF_TUPLES
147-
** Returns TRUE or FALSE into null indicator variables
148-
** NULL pointers are skipped
149-
*/
144+
*
145+
* fetchwithnulls - returns tuple number (starts at 0),
146+
* or the value END_OF_TUPLES
147+
* Returns TRUE or FALSE into null indicator variables
148+
* NULL pointers are skipped
149+
*/
150150
int
151151
fetchwithnulls(void *param,...)
152152
{
@@ -184,21 +184,21 @@ fetchwithnulls(void *param,...)
184184
}
185185

186186
/*
187-
**
188-
** on_error_stop
189-
**
190-
*/
187+
*
188+
* on_error_stop
189+
*
190+
*/
191191
void
192192
on_error_stop()
193193
{
194194
on_error_state = ON_ERROR_STOP;
195195
}
196196

197197
/*
198-
**
199-
** on_error_continue
200-
**
201-
*/
198+
*
199+
* on_error_continue
200+
*
201+
*/
202202
void
203203
on_error_continue()
204204
{
@@ -207,10 +207,10 @@ on_error_continue()
207207

208208

209209
/*
210-
**
211-
** get_result
212-
**
213-
*/
210+
*
211+
* get_result
212+
*
213+
*/
214214
PGresult *
215215
get_result()
216216
{
@@ -227,10 +227,10 @@ get_result()
227227
}
228228

229229
/*
230-
**
231-
** set_result
232-
**
233-
*/
230+
*
231+
* set_result
232+
*
233+
*/
234234
void
235235
set_result(PGresult *newres)
236236
{
@@ -263,10 +263,10 @@ set_result(PGresult *newres)
263263

264264

265265
/*
266-
**
267-
** unset_result
268-
**
269-
*/
266+
*
267+
* unset_result
268+
*
269+
*/
270270
void
271271
unset_result(PGresult *oldres)
272272
{
@@ -287,10 +287,10 @@ unset_result(PGresult *oldres)
287287
}
288288

289289
/*
290-
**
291-
** reset_fetch
292-
**
293-
*/
290+
*
291+
* reset_fetch
292+
*
293+
*/
294294
void
295295
reset_fetch()
296296
{

0 commit comments

Comments
 (0)