patch-1.3.4 linux/fs/readdir.c
Next file: linux/fs/select.c
Previous file: linux/fs/read_write.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Thu Jun 22 14:36:55 1995
- Orig file:
v1.3.3/linux/fs/readdir.c
- Orig date:
Tue Jun 20 09:10:32 1995
diff -u --recursive --new-file v1.3.3/linux/fs/readdir.c linux/fs/readdir.c
@@ -36,7 +36,7 @@
int count;
};
-static int fillonedir(void * __buf, char * name, int namlen, off_t offset, ino_t ino)
+static int fillonedir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino)
{
struct readdir_callback * buf = (struct readdir_callback *) __buf;
struct old_linux_dirent * dirent;
@@ -92,7 +92,7 @@
int error;
};
-static int filldir(void * __buf, char * name, int namlen, off_t offset, ino_t ino)
+static int filldir(void * __buf, const char * name, int namlen, off_t offset, ino_t ino)
{
struct linux_dirent * dirent;
struct getdents_callback * buf = (struct getdents_callback *) __buf;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this