diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-12-03 14:04:03 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-12-03 14:04:03 +0000 |
| commit | d5c32667ad11ff38dc46be527266297b38a341d1 (patch) | |
| tree | b3ce68f179d97e6e25e5c8e7ace845c4a561322b /include | |
| parent | 329ef3196b396a70eecd5a4789845d368b488ab7 (diff) | |
| download | uClibc-alpine-d5c32667ad11ff38dc46be527266297b38a341d1.tar.bz2 uClibc-alpine-d5c32667ad11ff38dc46be527266297b38a341d1.tar.xz | |
Synch with trunk @ 24242
Step 18: some more synch: hidden_proto, size reduction
and signal handling changes.
Diffstat (limited to 'include')
| -rw-r--r-- | include/rpc/clnt.h | 4 | ||||
| -rw-r--r-- | include/stdlib.h | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h index 72801e382..0dcadcb5a 100644 --- a/include/rpc/clnt.h +++ b/include/rpc/clnt.h @@ -132,6 +132,10 @@ struct rpc_err { typedef struct CLIENT CLIENT; struct CLIENT { AUTH *cl_auth; /* authenticator */ + /* not sure whether non-const-ness is a part of the spec... if it is, + * enclose "const" in #ifdef UCLIBC_INTERNAL / #endif + * to make it effective only for libc compile */ + const struct clnt_ops { enum clnt_stat (*cl_call) (CLIENT *, u_long, xdrproc_t, caddr_t, xdrproc_t, caddr_t, struct timeval); diff --git a/include/stdlib.h b/include/stdlib.h index 9112a95c4..87b284639 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -347,9 +347,10 @@ struct random_data int32_t *fptr; /* Front pointer. */ int32_t *rptr; /* Rear pointer. */ int32_t *state; /* Array of state values. */ - int rand_type; /* Type of random number generator. */ - int rand_deg; /* Degree of random number generator. */ - int rand_sep; /* Distance between front and rear. */ + /* random_r.c, TYPE_x, DEG_x, SEP_x - small enough for int8_t */ + int8_t rand_type; /* Type of random number generator. */ + int8_t rand_deg; /* Degree of random number generator. */ + int8_t rand_sep; /* Distance between front and rear. */ int32_t *end_ptr; /* Pointer behind state table. */ }; |
