URI: 
       tlibmach: fix warning about preadn - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit bb72982b79e09bb055930c2877ac7077b341cf84
   DIR parent c54202e5776f228276ec95e6befcceda92fe2042
  HTML Author: Russ Cox <rsc@swtch.com>
       Date:   Thu,  7 Oct 2010 04:23:17 -0400
       
       libmach: fix warning about preadn
       
       R=rsc
       http://codereview.appspot.com/2388041
       
       Diffstat:
         M src/libmach/macho.c                 |      21 ---------------------
       
       1 file changed, 0 insertions(+), 21 deletions(-)
       ---
   DIR diff --git a/src/libmach/macho.c b/src/libmach/macho.c
       t@@ -6,27 +6,6 @@
        /*
        http://www.channelu.com/NeXT/NeXTStep/3.3/nd/DevTools/14_MachO/MachO.htmld/ 
        */
       -static long
       -preadn(int fd, void *vdata, uint32 ulen, uint64 offset)
       -{
       -        long n;
       -        uchar *data;
       -        long len;
       -
       -        len = ulen;
       -        data = vdata;
       -/*        fprint(2, "readn 0x%llux 0x%ux\n", offset, ulen); */
       -        while(len > 0){
       -                n = pread(fd, data, len, offset);
       -                if(n <= 0)
       -                        break;
       -                data += n;
       -                offset += n;
       -                len -= n;
       -        }
       -        return data-(uchar*)vdata;
       -}
       -
        
        Macho*
        machoopen(char *name)