[Ext2resize-cvs] ext2resize/src llseek.c,1.7,1.8
Status: Inactive
Brought to you by:
adilger
From: Petter R. <pe...@us...> - 2006-06-10 07:12:15
|
Update of /cvsroot/ext2resize/ext2resize/src In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv16367 Modified Files: llseek.c Log Message: Use '__inline__' instead of 'inline' to match the rest of the code. This make it easier to compile the source with gcc -ansi. Index: llseek.c =================================================================== RCS file: /cvsroot/ext2resize/ext2resize/src/llseek.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** llseek.c 28 Jun 2002 17:46:43 -0000 1.7 --- llseek.c 10 Jun 2006 07:12:11 -0000 1.8 *************** *** 24,28 **** #define __USE_LARGEFILE64 #include <unistd.h> ! inline loff_t ext2_llseek (unsigned int fd, loff_t offset, unsigned int whence) { return lseek64(fd, offset, whence); --- 24,28 ---- #define __USE_LARGEFILE64 #include <unistd.h> ! __inline__ loff_t ext2_llseek (unsigned int fd, loff_t offset, unsigned int whence) { return lseek64(fd, offset, whence); *************** *** 35,39 **** * Should really use lseek64() anyways. */ ! inline loff_t ext2_llseek (unsigned int fd, loff_t offset, unsigned int whence) { loff_t result = llseek(fd, offset, whence); --- 35,39 ---- * Should really use lseek64() anyways. */ ! __inline__ loff_t ext2_llseek (unsigned int fd, loff_t offset, unsigned int whence) { loff_t result = llseek(fd, offset, whence); |