summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/file.c b/file.c
index b4cb626..cec7afd 100644
--- a/file.c
+++ b/file.c
@@ -140,7 +140,6 @@ struct stat_sparc64 {
#include <fcntl.h>
-
#ifdef HAVE_SYS_VFS_H
# include <sys/vfs.h>
#endif
@@ -152,7 +151,6 @@ struct stat_sparc64 {
# define XATTR_REPLACE 2
#endif
-
#if _LFS64_LARGEFILE
# ifdef HAVE_INTTYPES_H
# include <inttypes.h>
@@ -190,7 +188,6 @@ struct stat_sparc64 {
# include <sys/asynch.h>
#endif
-
const struct xlat open_access_modes[] = {
{ O_RDONLY, "O_RDONLY" },
{ O_WRONLY, "O_WRONLY" },
@@ -302,7 +299,6 @@ const struct xlat open_mode_flags[] = {
{ 0, NULL },
};
-
#ifndef AT_FDCWD
# define AT_FDCWD -100
#endif
@@ -900,7 +896,6 @@ static const struct xlat fileflags[] = {
{ 0, NULL },
};
-
#ifndef HAVE_LONG_LONG_OFF_T
static void
realprintstat(struct tcb *tcp, struct stat *statbuf)
@@ -967,7 +962,6 @@ realprintstat(struct tcb *tcp, struct stat *statbuf)
tprints("...}");
}
-
static void
printstat(struct tcb *tcp, long addr)
{
@@ -1182,7 +1176,6 @@ convertoldstat(const struct __old_kernel_stat *oldbuf, struct stat *newbuf)
newbuf->st_blocks = 0; /* not supported in old_stat */
}
-
static void
printoldstat(struct tcb *tcp, long addr)
{
@@ -1380,7 +1373,6 @@ sys_oldlstat(struct tcb *tcp)
}
#endif
-
#if defined(LINUXSPARC)
int
@@ -1503,7 +1495,6 @@ sys_acl(struct tcb *tcp)
return 0;
}
-
int
sys_facl(struct tcb *tcp)
{
@@ -1523,7 +1514,6 @@ sys_facl(struct tcb *tcp)
return 0;
}
-
static const struct xlat aclipc[] = {
# ifdef IPC_SHM
{ IPC_SHM, "IPC_SHM" },
@@ -1537,7 +1527,6 @@ static const struct xlat aclipc[] = {
{ 0, NULL },
};
-
int
sys_aclipc(struct tcb *tcp)
{
@@ -1562,7 +1551,6 @@ sys_aclipc(struct tcb *tcp)
#endif /* LINUXSPARC */
-
static const struct xlat fsmagic[] = {
{ 0x73757245, "CODA_SUPER_MAGIC" },
{ 0x012ff7b7, "COH_SUPER_MAGIC" },
@@ -1596,8 +1584,6 @@ static const struct xlat fsmagic[] = {
{ 0, NULL },
};
-
-
static const char *
sprintfstype(int magic)
{
@@ -2172,7 +2158,6 @@ sys_mknodat(struct tcb *tcp)
return decode_mknod(tcp, 1);
}
-
int
sys_fsync(struct tcb *tcp)
{
@@ -2182,7 +2167,6 @@ sys_fsync(struct tcb *tcp)
return 0;
}
-
static void
printdir(struct tcb *tcp, long addr)
{
@@ -2220,7 +2204,6 @@ sys_readdir(struct tcb *tcp)
return 0;
}
-
static const struct xlat direnttypes[] = {
{ DT_UNKNOWN, "DT_UNKNOWN" },
{ DT_FIFO, "DT_FIFO" },
@@ -2234,7 +2217,6 @@ static const struct xlat direnttypes[] = {
{ 0, NULL },
};
-
int
sys_getdents(struct tcb *tcp)
{
@@ -2290,7 +2272,6 @@ sys_getdents(struct tcb *tcp)
return 0;
}
-
#if _LFS64_LARGEFILE
int
sys_getdents64(struct tcb *tcp)
@@ -2355,7 +2336,6 @@ sys_getdents64(struct tcb *tcp)
}
#endif
-
int
sys_getcwd(struct tcb *tcp)
{
@@ -2369,7 +2349,6 @@ sys_getcwd(struct tcb *tcp)
return 0;
}
-
#ifdef HAVE_SYS_ASYNCH_H
int
@@ -2598,7 +2577,6 @@ sys_fremovexattr(struct tcb *tcp)
return 0;
}
-
static const struct xlat advise[] = {
{ POSIX_FADV_NORMAL, "POSIX_FADV_NORMAL" },
{ POSIX_FADV_RANDOM, "POSIX_FADV_RANDOM" },
@@ -2609,7 +2587,6 @@ static const struct xlat advise[] = {
{ 0, NULL }
};
-
int
sys_fadvise64(struct tcb *tcp)
{
@@ -2624,7 +2601,6 @@ sys_fadvise64(struct tcb *tcp)
return 0;
}
-
int
sys_fadvise64_64(struct tcb *tcp)
{