summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/wrapped.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 04:33:56 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 04:33:56 +0000
commit57a58f592b67a0ebf482f06315b9c546590126bf (patch)
treea3fdc435369865b8ef631f262e4d60d630515cd8 /source3/smbwrapper/wrapped.c
parent977d6015564932410ff69e291b8c6eddeece334d (diff)
downloadsamba-57a58f592b67a0ebf482f06315b9c546590126bf.tar.gz
samba-57a58f592b67a0ebf482f06315b9c546590126bf.tar.bz2
samba-57a58f592b67a0ebf482f06315b9c546590126bf.zip
more smbw cleanups.
- cleaned up prototyping. Unfortunately we can't auto-prototype wrapped.c because it replaces system functions. - split stat functions into smbw_stat.c (This used to be commit 04e92e692e49234df6fbbfd07a33b315ed62f0de)
Diffstat (limited to 'source3/smbwrapper/wrapped.c')
-rw-r--r--source3/smbwrapper/wrapped.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbwrapper/wrapped.c b/source3/smbwrapper/wrapped.c
index 71bcb76ee9..30676ca3d0 100644
--- a/source3/smbwrapper/wrapped.c
+++ b/source3/smbwrapper/wrapped.c
@@ -82,7 +82,7 @@ __asm__(".globl __fcntl; __fcntl = fcntl");
int fcntl(int fd, int cmd, long arg)
{
if (smbw_fd(fd)) {
- return smbw_fcntl(fd);
+ return smbw_fcntl(fd, cmd, arg);
}
return real_fcntl(fd, cmd, arg);
@@ -431,7 +431,7 @@ __asm__(".globl __write; __write = write");
}
- int utime(const char *name,struct timeval *tvp)
+ int utime(const char *name,void *tvp)
{
if (smbw_path(name)) {
return smbw_utime(name, tvp);