summaryrefslogtreecommitdiff
path: root/src/test/examples/testlo2.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-08-12 22:55:25 +0000
committerBruce Momjian <bruce@momjian.us>1997-08-12 22:55:25 +0000
commitea5b5357cdc79c7742c035032f5500e4a97a6d55 (patch)
tree1b2b64495c4aef58a7923da18525a49836ab5b03 /src/test/examples/testlo2.c
parent0f6a961e299b1dc3c57bf34d714d2eb0d9b5e6eb (diff)
downloadpostgresql-ea5b5357cdc79c7742c035032f5500e4a97a6d55.tar.gz
Remove more (void) and fix -Wall warnings.
Diffstat (limited to 'src/test/examples/testlo2.c')
-rw-r--r--src/test/examples/testlo2.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/examples/testlo2.c b/src/test/examples/testlo2.c
index 3756a158e3..36a5ce4fa4 100644
--- a/src/test/examples/testlo2.c
+++ b/src/test/examples/testlo2.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.1.1.1 1996/07/09 06:22:23 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.2 1997/08/12 22:55:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -57,8 +57,8 @@ Oid importFile(PGconn *conn, char *filename)
}
}
- (void) close(fd);
- (void) lo_close(conn, lobj_fd);
+ close(fd);
+ lo_close(conn, lobj_fd);
return lobjId;
}
@@ -162,8 +162,8 @@ void exportFile(PGconn *conn, Oid lobjId, char *filename)
}
}
- (void) lo_close(conn, lobj_fd);
- (void) close(fd);
+ lo_close(conn, lobj_fd);
+ close(fd);
return;
}