2005-06-08 Dmitry V. Levin <ldv@altlinux.org>
Minor namespace cleanup.
* defs.h (string_quote): Remove declaration.
* file.c (openmodessol) [LINUXSPARC]: Make static.
(fileflags): Likewise.
(aclcmds, aclipc) [HAVE_SYS_ACL_H]: Likewise.
(direnttypes) [FREEBSD || LINUX]: Likewise.
(xattrflags): Likewise.
* process.c (unalignctl_string): Make static.
(setarg): Disable.
* syscall.c (subcalls_table): Make static.
(socket_map) [!(LINUX && (ALPHA || MIPS))]: Likewise.
(sparc_socket_decode): Make static, define for [SPARC || SPARC64] only.
(decode_subcall): Make static.
(syscall_fixup): Likewise.
(get_error): Likewise.
(syscall_enter): Likewise.
* util.c (tv_tv): Disable.
(getpc): Likewise.
(string_quote): Make static.
Fixes RH#159688.
diff --git a/process.c b/process.c
index 2d8cb0a..f9cffe4 100644
--- a/process.c
+++ b/process.c
@@ -220,7 +220,7 @@
};
-const char *
+static const char *
unalignctl_string (unsigned int ctl)
{
static char buf[16];
@@ -701,6 +701,7 @@
return -1;
}
+#if 0
int
setarg(tcp, argnum)
struct tcb *tcp;
@@ -778,6 +779,7 @@
#endif
return 0;
}
+#endif
#if defined SYS_clone || defined SYS_clone2
int