summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 21:42:42 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 21:42:42 +0000
commit703f3a4031b7c334db64a0b5642fd4fcf69083e1 (patch)
tree5083078d9ad98a9e3b9ba077d87399091d603f57
parente312d85f55d5982e83cf2b5c1417a3040f9b9450 (diff)
downloadrtems-703f3a4031b7c334db64a0b5642fd4fcf69083e1.tar.bz2
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* src/i386/any/remdeb_xdr.c: Removed warnings.
-rw-r--r--c/src/librdbg/ChangeLog4
-rw-r--r--c/src/librdbg/src/i386/any/remdeb_xdr.c28
2 files changed, 4 insertions, 28 deletions
diff --git a/c/src/librdbg/ChangeLog b/c/src/librdbg/ChangeLog
index a8cf2e9d36..77eda7a649 100644
--- a/c/src/librdbg/ChangeLog
+++ b/c/src/librdbg/ChangeLog
@@ -1,5 +1,9 @@
2002-10-31 Joel Sherrill <joel@OARcorp.com>
+ * src/i386/any/remdeb_xdr.c: Removed warnings.
+
+2002-10-31 Joel Sherrill <joel@OARcorp.com>
+
* src/rdbg.c, src/servtsp.c, src/m68k/rdbg_f.c,
src/m68k/any/remdeb_xdr.c,
src/powerpc/new_exception_processing/remdeb_xdr.c: Removed warnings.
diff --git a/c/src/librdbg/src/i386/any/remdeb_xdr.c b/c/src/librdbg/src/i386/any/remdeb_xdr.c
index 721dfdc200..49d8f41d11 100644
--- a/c/src/librdbg/src/i386/any/remdeb_xdr.c
+++ b/c/src/librdbg/src/i386/any/remdeb_xdr.c
@@ -10,7 +10,6 @@
bool_t
xdr_rpc_type (XDR *xdrs, rpc_type *objp)
{
- register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
@@ -20,7 +19,6 @@ xdr_rpc_type (XDR *xdrs, rpc_type *objp)
bool_t
xdr_UDP_MSG (XDR *xdrs, UDP_MSG *objp)
{
- register int32_t *buf;
if (!xdr_u_char (xdrs, &objp->type))
return FALSE;
@@ -42,7 +40,6 @@ xdr_UDP_MSG (XDR *xdrs, UDP_MSG *objp)
bool_t
xdr_ptracereq (XDR *xdrs, ptracereq *objp)
{
- register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
@@ -120,7 +117,6 @@ bool_t xdr_xdr_mem(xdrs, objp)
bool_t
xdr_break_type (XDR *xdrs, break_type *objp)
{
- register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
@@ -245,7 +241,6 @@ xdr_xdr_break (XDR *xdrs, xdr_break *objp)
bool_t
xdr_thread_name (XDR *xdrs, thread_name *objp)
{
- register int32_t *buf;
if (!xdr_string (xdrs, objp, THREADNAMEMAX))
return FALSE;
@@ -255,7 +250,6 @@ xdr_thread_name (XDR *xdrs, thread_name *objp)
bool_t
xdr_KernThread (XDR *xdrs, KernThread *objp)
{
- register int32_t *buf;
if (!xdr_u_int (xdrs, &objp->threadLi))
return FALSE;
@@ -272,7 +266,6 @@ bool_t xdr_thread_list(xdrs, objp)
bool_t
xdr_ptrace_addr_data_in (XDR *xdrs, ptrace_addr_data_in *objp)
{
- register int32_t *buf;
if (!xdr_ptracereq (xdrs, &objp->req))
return FALSE;
@@ -322,7 +315,6 @@ xdr_ptrace_addr_data_in (XDR *xdrs, ptrace_addr_data_in *objp)
bool_t
xdr_ptrace_addr_data_out (XDR *xdrs, ptrace_addr_data_out *objp)
{
- register int32_t *buf;
if (!xdr_ptracereq (xdrs, &objp->req))
return FALSE;
@@ -380,7 +372,6 @@ xdr_ptrace_addr_data_out (XDR *xdrs, ptrace_addr_data_out *objp)
bool_t
xdr_CHAR_DATA (XDR *xdrs, CHAR_DATA *objp)
{
- register int32_t *buf;
if (!xdr_bytes (xdrs, (char **)&objp->CHAR_DATA_val, (u_int *) &objp->CHAR_DATA_len, NET_SAFE))
return FALSE;
@@ -390,7 +381,6 @@ xdr_CHAR_DATA (XDR *xdrs, CHAR_DATA *objp)
bool_t
xdr_one_arg (XDR *xdrs, one_arg *objp)
{
- register int32_t *buf;
if (!xdr_string (xdrs, objp, NET_SAFE))
return FALSE;
@@ -401,7 +391,6 @@ xdr_one_arg (XDR *xdrs, one_arg *objp)
bool_t
xdr_debug_type (XDR *xdrs, debug_type *objp)
{
- register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
@@ -412,9 +401,7 @@ xdr_debug_type (XDR *xdrs, debug_type *objp)
bool_t
xdr_open_in (XDR *xdrs, open_in *objp)
{
- register int32_t *buf;
- int i;
if (!xdr_vector (xdrs, (char *)objp->back_port, 16,
sizeof (u_char), (xdrproc_t) xdr_u_char))
return FALSE;
@@ -519,7 +506,6 @@ xdr_open_out (XDR *xdrs, open_out *objp)
bool_t
xdr_close_control (XDR *xdrs, close_control *objp)
{
- register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
@@ -529,7 +515,6 @@ xdr_close_control (XDR *xdrs, close_control *objp)
bool_t
xdr_close_in (XDR *xdrs, close_in *objp)
{
- register int32_t *buf;
if (!xdr_close_control (xdrs, &objp->control))
return FALSE;
@@ -540,7 +525,6 @@ xdr_close_in (XDR *xdrs, close_in *objp)
bool_t
xdr_signal_in (XDR *xdrs, signal_in *objp)
{
- register int32_t *buf;
if (!xdr_int (xdrs, &objp->pid))
return FALSE;
@@ -552,7 +536,6 @@ xdr_signal_in (XDR *xdrs, signal_in *objp)
bool_t
xdr_signal_out (XDR *xdrs, signal_out *objp)
{
- register int32_t *buf;
if (!xdr_int (xdrs, &objp->kill_return))
return FALSE;
@@ -566,7 +549,6 @@ xdr_signal_out (XDR *xdrs, signal_out *objp)
bool_t
xdr_stop_code (XDR *xdrs, stop_code *objp)
{
- register int32_t *buf;
if (!xdr_enum (xdrs, (enum_t *) objp))
return FALSE;
@@ -576,7 +558,6 @@ xdr_stop_code (XDR *xdrs, stop_code *objp)
bool_t
xdr_wait_in (XDR *xdrs, wait_in *objp)
{
- register int32_t *buf;
if (!xdr_int (xdrs, &objp->pid))
return FALSE;
@@ -691,7 +672,6 @@ xdr_wait_out (XDR *xdrs, wait_out *objp)
bool_t
xdr_ptrace_in (XDR *xdrs, ptrace_in *objp)
{
- register int32_t *buf;
if (!xdr_int (xdrs, &objp->pid))
return FALSE;
@@ -707,7 +687,6 @@ xdr_ptrace_in (XDR *xdrs, ptrace_in *objp)
bool_t
xdr_ptrace_out (XDR *xdrs, ptrace_out *objp)
{
- register int32_t *buf;
if (!xdr_ptrace_addr_data_out (xdrs, &objp->addr))
return FALSE;
@@ -721,7 +700,6 @@ xdr_ptrace_out (XDR *xdrs, ptrace_out *objp)
bool_t
xdr_one_symbol (XDR *xdrs, one_symbol *objp)
{
- register int32_t *buf;
if (!xdr_string (xdrs, &objp->symbolName, ~0))
return FALSE;
@@ -733,7 +711,6 @@ xdr_one_symbol (XDR *xdrs, one_symbol *objp)
bool_t
xdr_all_symbols (XDR *xdrs, all_symbols *objp)
{
- register int32_t *buf;
if (!xdr_array (xdrs, (char **)&objp->all_symbols_val, (u_int *) &objp->all_symbols_len, ~0,
sizeof (one_symbol), (xdrproc_t) xdr_one_symbol))
@@ -744,7 +721,6 @@ xdr_all_symbols (XDR *xdrs, all_symbols *objp)
bool_t
xdr_get_global_symbols_out (XDR *xdrs, get_global_symbols_out *objp)
{
- register int32_t *buf;
if (!xdr_all_symbols (xdrs, &objp->symbols))
return FALSE;
@@ -754,7 +730,6 @@ xdr_get_global_symbols_out (XDR *xdrs, get_global_symbols_out *objp)
bool_t
xdr_get_text_data_in (XDR *xdrs, get_text_data_in *objp)
{
- register int32_t *buf;
if (!xdr_int (xdrs, &objp->pid))
return FALSE;
@@ -837,7 +812,6 @@ xdr_get_text_data_out (XDR *xdrs, get_text_data_out *objp)
bool_t
xdr_one_signal (XDR *xdrs, one_signal *objp)
{
- register int32_t *buf;
if (!xdr_u_int (xdrs, &objp->number))
return FALSE;
@@ -849,7 +823,6 @@ xdr_one_signal (XDR *xdrs, one_signal *objp)
bool_t
xdr_all_signals (XDR *xdrs, all_signals *objp)
{
- register int32_t *buf;
if (!xdr_array (xdrs, (char **)&objp->all_signals_val, (u_int *) &objp->all_signals_len, ~0,
sizeof (one_signal), (xdrproc_t) xdr_one_signal))
@@ -860,7 +833,6 @@ xdr_all_signals (XDR *xdrs, all_signals *objp)
bool_t
xdr_get_signal_names_out (XDR *xdrs, get_signal_names_out *objp)
{
- register int32_t *buf;
if (!xdr_all_signals (xdrs, &objp->signals))
return FALSE;