diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-09-07 05:04:48 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-09-07 05:04:48 +0000 |
commit | 1ccd423235a48739d6f7a4d7889705b5f9ecc69b (patch) | |
tree | 8001c4e839dfad8f29ceda7f8c5f5dbb8759b564 /src/backend/port/hpux/fixade.h | |
parent | 8fecd4febf8357f3cc20383ed29ced484877d5ac (diff) | |
download | postgresql-1ccd423235a48739d6f7a4d7889705b5f9ecc69b.tar.gz postgresql-1ccd423235a48739d6f7a4d7889705b5f9ecc69b.zip |
Massive commit to run PGINDENT on all *.c and *.h files.
Diffstat (limited to 'src/backend/port/hpux/fixade.h')
-rw-r--r-- | src/backend/port/hpux/fixade.h | 63 |
1 files changed, 33 insertions, 30 deletions
diff --git a/src/backend/port/hpux/fixade.h b/src/backend/port/hpux/fixade.h index 62324eb05d7..094cd13ca83 100644 --- a/src/backend/port/hpux/fixade.h +++ b/src/backend/port/hpux/fixade.h @@ -1,63 +1,66 @@ /*------------------------------------------------------------------------- * * fixade.h-- - * compiler tricks to make things work while POSTGRES does non-native - * dereferences on PA-RISC. + * compiler tricks to make things work while POSTGRES does non-native + * dereferences on PA-RISC. * * * Copyright (c) 1994, Regents of the University of California * - * $Id: fixade.h,v 1.1.1.1 1996/07/09 06:21:43 scrappy Exp $ + * $Id: fixade.h,v 1.2 1997/09/07 04:45:48 momjian Exp $ * - * NOTES - * This must be included in EVERY source file. + * NOTES + * This must be included in EVERY source file. * *------------------------------------------------------------------------- */ -#ifndef FIXADE_H +#ifndef FIXADE_H #define FIXADE_H #if !defined(NOFIXADE) #if defined(HP_S500_ALIGN) /* ---------------- - * This cheesy hack turns ON unaligned-access fixup on H-P PA-RISC; - * the resulting object files contain code that explicitly handles - * realignment on reference, so it slows memory access down by a - * considerable factor. It must be used in conjunction with the +u - * flag to cc. The #pragma is included in c.h to be safe since EVERY - * source file that performs unaligned access must contain the #pragma. + * This cheesy hack turns ON unaligned-access fixup on H-P PA-RISC; + * the resulting object files contain code that explicitly handles + * realignment on reference, so it slows memory access down by a + * considerable factor. It must be used in conjunction with the +u + * flag to cc. The #pragma is included in c.h to be safe since EVERY + * source file that performs unaligned access must contain the #pragma. * ---------------- */ #pragma HP_ALIGN HPUX_NATURAL_S500 #if defined(BROKEN_STRUCT_INIT) /* ---------------- - * This is so bogus. The HP-UX 9.01 compiler has totally broken - * struct initialization code. It actually length-checks ALL - * array initializations within structs against the FIRST one that - * it sees (when #pragma HP_ALIGN HPUX_NATURAL_S500 is defined).. - * we have to throw in this unused structure before struct varlena - * is defined. + * This is so bogus. The HP-UX 9.01 compiler has totally broken + * struct initialization code. It actually length-checks ALL + * array initializations within structs against the FIRST one that + * it sees (when #pragma HP_ALIGN HPUX_NATURAL_S500 is defined).. + * we have to throw in this unused structure before struct varlena + * is defined. * - * XXX guess you don't need the #pragma anymore after all :-) - * since no one looks at this except me i think i'll just leave - * this here for now.. + * XXX guess you don't need the #pragma anymore after all :-) + * since no one looks at this except me i think i'll just leave + * this here for now.. * ---------------- */ -struct HP_WAY_BOGUS { - char hpwb_bogus[8192]; +struct HP_WAY_BOGUS +{ + char hpwb_bogus[8192]; }; -struct HP_TOO_BOGUS { - int hptb_bogus[8192]; +struct HP_TOO_BOGUS +{ + int hptb_bogus[8192]; }; -#endif /* BROKEN_STRUCT_INIT */ -#endif /* HP_S500_ALIGN */ + +#endif /* BROKEN_STRUCT_INIT */ +#endif /* HP_S500_ALIGN */ #if defined(WEAK_C_OPTIMIZER) #pragma OPT_LEVEL 1 -#endif /* WEAK_C_OPTIMIZER */ +#endif /* WEAK_C_OPTIMIZER */ -#endif /* !NOFIXADE */ +#endif /* !NOFIXADE */ -#endif /* FIXADE_H */ +#endif /* FIXADE_H */ |