summaryrefslogtreecommitdiff
path: root/src/libunixonacid
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid')
-rw-r--r--src/libunixonacid/dd_cancel.c2
-rw-r--r--src/libunixonacid/dd_close.c2
-rw-r--r--src/libunixonacid/dd_commit.c2
-rw-r--r--src/libunixonacid/dd_commit_devino.c2
-rw-r--r--src/libunixonacid/dd_open_read.c2
-rw-r--r--src/libunixonacid/dd_open_write.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/libunixonacid/dd_cancel.c b/src/libunixonacid/dd_cancel.c
index 22adf4e..cbd044e 100644
--- a/src/libunixonacid/dd_cancel.c
+++ b/src/libunixonacid/dd_cancel.c
@@ -5,7 +5,7 @@
#include <skalibs/djbunix.h>
#include <skalibs/unix-transactional.h>
-void dd_cancel (dirdescriptor_t_ref dd)
+void dd_cancel (dirdescriptor_t *dd)
{
dirdescriptor_t zero = DIRDESCRIPTOR_ZERO ;
register int e = errno ;
diff --git a/src/libunixonacid/dd_close.c b/src/libunixonacid/dd_close.c
index 74961a1..ffe8b1e 100644
--- a/src/libunixonacid/dd_close.c
+++ b/src/libunixonacid/dd_close.c
@@ -3,7 +3,7 @@
#include <skalibs/djbunix.h>
#include <skalibs/unix-transactional.h>
-int dd_close (dirdescriptor_t_ref dd)
+int dd_close (dirdescriptor_t *dd)
{
return (fd_close(dd->fd) >= 0) ;
}
diff --git a/src/libunixonacid/dd_commit.c b/src/libunixonacid/dd_commit.c
index b55addb..2555d1e 100644
--- a/src/libunixonacid/dd_commit.c
+++ b/src/libunixonacid/dd_commit.c
@@ -16,7 +16,7 @@ static char const *mybasename (char const *s, unsigned int len)
return s ;
}
-int dd_commit (dirdescriptor_t_ref dd)
+int dd_commit (dirdescriptor_t *dd)
{
dirdescriptor_t zero = DIRDESCRIPTOR_ZERO ;
unsigned int len = str_len(dd->lnkfn) ;
diff --git a/src/libunixonacid/dd_commit_devino.c b/src/libunixonacid/dd_commit_devino.c
index 481db19..7155c7b 100644
--- a/src/libunixonacid/dd_commit_devino.c
+++ b/src/libunixonacid/dd_commit_devino.c
@@ -5,7 +5,7 @@
#include <skalibs/uint64.h>
#include <skalibs/unix-transactional.h>
-int dd_commit_devino (dirdescriptor_t_ref dd, uint64 *dev, uint64 *ino)
+int dd_commit_devino (dirdescriptor_t *dd, uint64 *dev, uint64 *ino)
{
struct stat st ;
if (fstat(dd->fd, &st) < 0) return 0 ;
diff --git a/src/libunixonacid/dd_open_read.c b/src/libunixonacid/dd_open_read.c
index 1996297..9189582 100644
--- a/src/libunixonacid/dd_open_read.c
+++ b/src/libunixonacid/dd_open_read.c
@@ -3,7 +3,7 @@
#include <skalibs/djbunix.h>
#include <skalibs/unix-transactional.h>
-int dd_open_read (dirdescriptor_t_ref dd, char const *path)
+int dd_open_read (dirdescriptor_t *dd, char const *path)
{
dirdescriptor_t d = DIRDESCRIPTOR_ZERO ;
d.fd = open_read(path) ;
diff --git a/src/libunixonacid/dd_open_write.c b/src/libunixonacid/dd_open_write.c
index efee60f..f579c73 100644
--- a/src/libunixonacid/dd_open_write.c
+++ b/src/libunixonacid/dd_open_write.c
@@ -9,7 +9,7 @@
#include <skalibs/random.h>
#include <skalibs/unix-transactional.h>
-int dd_open_write (dirdescriptor_t_ref dd, char const *lnkfn, unsigned int mode)
+int dd_open_write (dirdescriptor_t *dd, char const *lnkfn, unsigned int mode)
{
dirdescriptor_t d = DIRDESCRIPTOR_ZERO ;
d.lnkfn = lnkfn ;