Changeset 7d7d5e8e in rtems for cpukit/librpc


Ignore:
Timestamp:
Aug 1, 2008, 7:28:48 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
6cded7e
Parents:
612fbaff
Message:

Remove register vars.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/src/xdr/xdr_rec.c

    r612fbaff r7d7d5e8e  
    145145)
    146146{
    147         register RECSTREAM *rstrm =
     147        RECSTREAM *rstrm =
    148148                (RECSTREAM *)mem_alloc(sizeof(RECSTREAM));
    149149
     
    201201        long *lp)
    202202{
    203         register RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
    204         register int32_t *buflp = (int32_t *)(rstrm->in_finger);
     203        RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
     204        int32_t *buflp = (int32_t *)(rstrm->in_finger);
    205205        int32_t mylong;
    206206
     
    224224        long *lp)
    225225{
    226         register RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
    227         register int32_t *dest_lp = ((int32_t *)(rstrm->out_finger));
     226        RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
     227        int32_t *dest_lp = ((int32_t *)(rstrm->out_finger));
    228228
    229229        if ((rstrm->out_finger += sizeof(int32_t)) > rstrm->out_boundry) {
     
    246246xdrrec_getbytes(
    247247        XDR *xdrs,
    248         register caddr_t addr,
    249         register u_int len)
    250 {
    251         register RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
    252         register int current;
     248        caddr_t addr,
     249        u_int len)
     250{
     251        RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
     252        int current;
    253253
    254254        while (len > 0) {
     
    277277        u_int len)
    278278{
    279         register RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
    280         register long current;
     279        RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
     280        long current;
    281281
    282282        while (len > 0) {
     
    301301        XDR *xdrs)
    302302{
    303         register RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
    304         register long pos;
     303        RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
     304        long pos;
    305305
    306306        pos = lseek((intptr_t)rstrm->tcp_handle, (off_t) 0, 1);
     
    328328        u_int pos)
    329329{
    330         register RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
     330        RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
    331331        u_int currpos = xdrrec_getpos(xdrs);
    332332        int delta = currpos - pos;
     
    366366        int len)
    367367{
    368         register RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
     368        RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
    369369        int32_t * buf = NULL;
    370370
     
    396396        XDR *xdrs)
    397397{
    398         register RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
     398        RECSTREAM *rstrm = (RECSTREAM *)xdrs->x_private;
    399399
    400400        mem_free(rstrm->the_buffer,
     
    416416        XDR *xdrs)
    417417{
    418         register RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
     418        RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
    419419
    420420        while (rstrm->fbtbc > 0 || (! rstrm->last_frag)) {
     
    438438        XDR *xdrs)
    439439{
    440         register RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
     440        RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
    441441
    442442        while (rstrm->fbtbc > 0 || (! rstrm->last_frag)) {
     
    463463        bool_t sendnow)
    464464{
    465         register RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
    466         register u_long len;  /* fragment length */
     465        RECSTREAM *rstrm = (RECSTREAM *)(xdrs->x_private);
     466        u_long len;  /* fragment length */
    467467
    468468        if (sendnow || rstrm->frag_sent ||
     
    489489        bool_t eor)
    490490{
    491         register u_int32_t eormask = (eor == TRUE) ? LAST_FRAG : 0;
    492         register u_int32_t len = (uintptr_t)(rstrm->out_finger) -
     491        u_int32_t eormask = (eor == TRUE) ? LAST_FRAG : 0;
     492        u_int32_t len = (uintptr_t)(rstrm->out_finger) -
    493493                (uintptr_t)(rstrm->frag_header) - sizeof(u_int32_t);
    494494
     
    507507        RECSTREAM *rstrm)
    508508{
    509         register caddr_t where;
     509        caddr_t where;
    510510        u_long i;
    511         register long len;
     511        long len;
    512512
    513513        where = rstrm->in_base;
     
    529529        int len)
    530530{
    531         register long current;
     531        long current;
    532532
    533533        while (len > 0) {
     
    576576        long cnt)
    577577{
    578         register long current;
     578        long current;
    579579
    580580        while (cnt > 0) {
Note: See TracChangeset for help on using the changeset viewer.