diff options
| author | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-08-05 12:42:37 -0700 |
|---|---|---|
| committer | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-08-05 12:44:25 -0700 |
| commit | 737102c3c7abe183e50c1740be3b5c5276b1fa17 (patch) | |
| tree | 4cfa35741ba757f004b08fe5648ea79fd103f415 /com32/gplinclude/disk/write.h | |
| parent | 35d52abdfc7e6a6af960c80869b6a1e95262810f (diff) | |
| download | syslinux-737102c3c7abe183e50c1740be3b5c5276b1fa17.tar.gz | |
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.h | 6 |
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 |
