Unexport struct_user_offsets

* defs.h (struct_user_offsets): Remove.
* process.c (struct_user_offsets): Make static.
This commit is contained in:
Дмитрий Левин 2014-12-11 19:25:02 +00:00
parent c6ce4fdafc
commit 8c0ef9468c
2 changed files with 1 additions and 2 deletions

1
defs.h
View File

@ -517,7 +517,6 @@ extern const struct xlat addrfams[];
extern const struct xlat at_flags[];
extern const struct xlat open_access_modes[];
extern const struct xlat open_mode_flags[];
extern const struct xlat struct_user_offsets[];
extern const struct xlat whence_codes[];
/* Format of syscall return values */

View File

@ -83,7 +83,7 @@
#define uoff(member) offsetof(struct user, member)
#define XLAT_UOFF(member) { uoff(member), "offsetof(struct user, " #member ")" }
const struct xlat struct_user_offsets[] = {
static const struct xlat struct_user_offsets[] = {
#if defined(S390) || defined(S390X)
{ PT_PSWMASK, "psw_mask" },
{ PT_PSWADDR, "psw_addr" },