diff options
Diffstat (limited to 'src/backend/port/svr4/rusagestub.h')
-rw-r--r-- | src/backend/port/svr4/rusagestub.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/backend/port/svr4/rusagestub.h b/src/backend/port/svr4/rusagestub.h index d2393eb792..5eda998802 100644 --- a/src/backend/port/svr4/rusagestub.h +++ b/src/backend/port/svr4/rusagestub.h @@ -1,7 +1,7 @@ /*------------------------------------------------------------------------- * * rusagestub.h-- - * Stubs for getrusage(3). + * Stubs for getrusage(3). * * * Copyright (c) 1994, Regents of the University of California @@ -13,18 +13,19 @@ #ifndef RUSAGESTUB_H #define RUSAGESTUB_H -#include <sys/time.h> /* for struct timeval */ -#include <sys/times.h> /* for struct tms */ -#include <limits.h> /* for CLK_TCK */ +#include <sys/time.h> /* for struct timeval */ +#include <sys/times.h> /* for struct tms */ +#include <limits.h> /* for CLK_TCK */ -#define RUSAGE_SELF 0 -#define RUSAGE_CHILDREN -1 +#define RUSAGE_SELF 0 +#define RUSAGE_CHILDREN -1 -struct rusage { - struct timeval ru_utime; /* user time used */ - struct timeval ru_stime; /* system time used */ +struct rusage +{ + struct timeval ru_utime; /* user time used */ + struct timeval ru_stime; /* system time used */ }; -extern int getrusage(int who, struct rusage *rusage); +extern int getrusage(int who, struct rusage * rusage); -#endif /* RUSAGESTUB_H */ +#endif /* RUSAGESTUB_H */ |