diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-28 02:15:33 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-01-28 02:15:33 +0000 |
commit | 0c3a6d69897bfd9a5c9bb22a4d4486552f2004d8 (patch) | |
tree | b1fac7667f69e19d1c32cb670849ebe3af4249d2 /cpukit/librpc | |
parent | 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-0c3a6d69897bfd9a5c9bb22a4d4486552f2004d8.tar.bz2 |
Fix indentation.
Diffstat (limited to 'cpukit/librpc')
-rw-r--r-- | cpukit/librpc/src/rpc/rtems_portmapper.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/librpc/src/rpc/rtems_portmapper.c b/cpukit/librpc/src/rpc/rtems_portmapper.c index da2530a2d0..ff217ec0af 100644 --- a/cpukit/librpc/src/rpc/rtems_portmapper.c +++ b/cpukit/librpc/src/rpc/rtems_portmapper.c @@ -124,18 +124,18 @@ find_service( u_long vers, int prot ) { -register struct pmaplist *hit = NULL; -register struct pmaplist *pml; + register struct pmaplist *hit = NULL; + register struct pmaplist *pml; -for (pml = pmaplist; pml != NULL; pml = pml->pml_next) { + for (pml = pmaplist; pml != NULL; pml = pml->pml_next) { if ((pml->pml_map.pm_prog != prog) || (pml->pml_map.pm_prot != prot)) continue; hit = pml; if (pml->pml_map.pm_vers == vers) break; -} - return (hit); + } + return (hit); } /* |