From a32450a5855eed4bfd756ef292ee45d3c754665b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 26 Feb 1998 04:46:47 +0000 Subject: pgindent run before 6.3 release, with Thomas' requested changes. --- src/backend/port/getrusage.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'src/backend/port/getrusage.c') diff --git a/src/backend/port/getrusage.c b/src/backend/port/getrusage.c index 169e9063ff6..fb2a1fe7a3d 100644 --- a/src/backend/port/getrusage.c +++ b/src/backend/port/getrusage.c @@ -1,20 +1,21 @@ -/* $Id: getrusage.c,v 1.6 1998/02/24 03:45:06 scrappy Exp $ */ +/* $Id: getrusage.c,v 1.7 1998/02/26 04:34:00 momjian Exp $ */ -#include /* for pow() prototype */ +#include /* for pow() prototype */ #include #include "rusagestub.h" -#if 0 /* this is from univel port ... how does compiler define? */ - /* same for i386_solaris port ... how does compiler define? */ - /* same for sco port ... how does compiler define? */ - /* same for sparc_solaris port ... how does compiler define? */ - /* same for svr4 port ... how does compiler define? */ +#if 0 /* this is from univel port ... how does + * compiler define? */ + /* same for i386_solaris port ... how does compiler define? */ + /* same for sco port ... how does compiler define? */ + /* same for sparc_solaris port ... how does compiler define? */ + /* same for svr4 port ... how does compiler define? */ int getrusage(int who, struct rusage * rusage) { struct tms tms; - int tick_rate = CLK_TCK; /* ticks per second */ + int tick_rate = CLK_TCK; /* ticks per second */ clock_t u, s; @@ -50,11 +51,14 @@ getrusage(int who, struct rusage * rusage) rusage->ru_stime.tv_usec = TICK_TO_USEC(u, tick_rate); return (0); } + #endif -#if 0 /* this is for hpux port ... how does compiler define? */ +#if 0 /* this is for hpux port ... how does + * compiler define? */ getrusage(int who, struct rusage * ru) { - return (syscall(SYS_GETRUSAGE, who, ru)); + return (syscall(SYS_GETRUSAGE, who, ru)); } + #endif -- cgit v1.2.3