aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/write.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-05 12:42:37 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-08-05 12:44:25 -0700
commit737102c3c7abe183e50c1740be3b5c5276b1fa17 (patch)
tree4cfa35741ba757f004b08fe5648ea79fd103f415 /com32/gplinclude/disk/write.h
parent35d52abdfc7e6a6af960c80869b6a1e95262810f (diff)
downloadsyslinux-737102c3c7abe183e50c1740be3b5c5276b1fa17.tar.gz
syslinux-737102c3c7abe183e50c1740be3b5c5276b1fa17.tar.xz
syslinux-737102c3c7abe183e50c1740be3b5c5276b1fa17.zip
disklib: Change read/write interface
Get rid of the error pointer and use a errno-like error reporting mechanism. Intent is to make these more like the standard read/write system calls. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gplinclude/disk/write.h')
-rw-r--r--com32/gplinclude/disk/write.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/gplinclude/disk/write.h b/com32/gplinclude/disk/write.h
index fe251f94..faa80c7d 100644
--- a/com32/gplinclude/disk/write.h
+++ b/com32/gplinclude/disk/write.h
@@ -18,11 +18,11 @@
#include <disk/geom.h>
int write_sectors(const struct driveinfo*, const unsigned int,
- const void *, const int, int *);
+ const void *, const int);
int write_verify_sector(struct driveinfo* drive_info,
const unsigned int,
- const void *, int*);
+ const void *);
int write_verify_sectors(struct driveinfo*,
const unsigned int,
- const void *, const int, int *);
+ const void *, const int);
#endif