From 0c3a6d69897bfd9a5c9bb22a4d4486552f2004d8 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 28 Jan 2005 02:15:33 +0000 Subject: Fix indentation. --- cpukit/librpc/src/rpc/rtems_portmapper.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/librpc') 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); } /* -- cgit v1.2.3