summaryrefslogtreecommitdiff
path: root/src/test/examples/testlo2.c
diff options
context:
space:
mode:
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;
}