diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2024-08-31 13:41:14 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2024-08-31 13:41:14 +0000 |
commit | b526160fae04087bfbe2663d9a90d22eec76d9b8 (patch) | |
tree | 088f1213e6c11d32eb5b8bc6888602c1cdefefe3 /games/fortune/strfile/strfile.8 | |
parent | fa7df95729aafad642ba68981529cad519132136 (diff) |
update the header; ok and error corrected by jsg
Diffstat (limited to 'games/fortune/strfile/strfile.8')
-rw-r--r-- | games/fortune/strfile/strfile.8 | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/games/fortune/strfile/strfile.8 b/games/fortune/strfile/strfile.8 index 990bb7650fc..b87e79551bb 100644 --- a/games/fortune/strfile/strfile.8 +++ b/games/fortune/strfile/strfile.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: strfile.8,v 1.17 2022/08/04 06:20:24 jsg Exp $ +.\" $OpenBSD: strfile.8,v 1.18 2024/08/31 13:41:13 jmc Exp $ .\" $NetBSD: strfile.8,v 1.3 1995/03/23 08:28:45 cgd Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -34,7 +34,7 @@ .\" .\" @(#)strfile.8 8.1 (Berkeley) 6/9/93 .\" -.Dd $Mdocdate: August 4 2022 $ +.Dd $Mdocdate: August 31 2024 $ .Dt STRFILE 8 .Os .Sh NAME @@ -100,17 +100,17 @@ field to be set. .Pp The format of the header is: .Bd -literal -offset indent -#define VERSION 2 -u_int32_t str_version; /* version number */ -u_int32_t str_numstr; /* # of strings in the file */ -u_int32_t str_longlen; /* length of longest string */ -u_int32_t str_shortlen; /* length of shortest string */ -#define STR_RANDOM 0x1 /* randomized pointers */ -#define STR_ORDERED 0x2 /* ordered pointers */ -#define STR_ROTATED 0x4 /* rot-13'd text */ -u_int32_t str_flags; /* bit field for flags */ -u_int8_t str_delim; /* delimiting character */ -u_int8_t str_pad[3]; /* padding */ +#define VERSION 2 + u_int32_t str_version; /* version number */ + u_int32_t str_numstr; /* # of strings in the file */ + u_int32_t str_longlen; /* length of longest string */ + u_int32_t str_shortlen; /* length of shortest string */ +#define STR_RANDOM 0x1 /* randomized pointers */ +#define STR_ORDERED 0x2 /* ordered pointers */ +#define STR_ROTATED 0x4 /* rot-13'd text */ + u_int32_t str_flags; /* bit field for flags */ + u_int8_t stuff[4]; /* long aligned space */ +#define str_delim stuff[0] /* delimiting character */ .Ed .Pp All fields are written in network byte order. |