Changes by: aia21
Update of /cvs/linux-ntfs/ntfsprogs/libntfs
In directory delta357:/tmp/cvs-serv12613
Modified Files:
runlist.c
Log Message:
Revert part of 1.71: Gratuituous API/ABI change.
Index: runlist.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/libntfs/runlist.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -p -r1.71 -r1.72
--- runlist.c 26 Oct 2006 19:10:05 -0000 1.71
+++ runlist.c 27 Oct 2006 09:05:56 -0000 1.72
@@ -1220,7 +1220,7 @@ rl_err_out:
*
* Return the number of bytes written. This function cannot fail.
*/
-static int ntfs_get_nr_significant_bytes(const s64 n)
+int ntfs_get_nr_significant_bytes(const s64 n)
{
s64 l = n;
int i;
@@ -1363,8 +1363,7 @@ err_out:
* Return the number of bytes written on success. On error, i.e. the
* destination buffer @dst is too small, return -1 with errno set ENOSPC.
*/
-static int ntfs_write_significant_bytes(u8 *dst, const u8 *dst_max,
- const s64 n)
+int ntfs_write_significant_bytes(u8 *dst, const u8 *dst_max, const s64 n)
{
s64 l = n;
int i;
|