]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - fortune/strfile/strfile.h
Remove duplicate fortunes.
[bsdgames-darwin.git] / fortune / strfile / strfile.h
index 1000a88636ec7e22b3440a2fcff25e870353caa0..8198ea845c8e32e881edcc100477a267798f6fc1 100644 (file)
@@ -1,6 +1,8 @@
+/*     $NetBSD: strfile.h,v 1.5 1999/12/30 01:26:44 simonb Exp $       */
+
 /*-
- * Copyright (c) 1991 The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1991, 1993
+ *     The Regents of the University of California.  All rights reserved.
  *
  * This code is derived from software contributed to Berkeley by
  * Ken Arnold.
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- *     from: @(#)strfile.h     5.8 (Berkeley) 4/8/91
- *     $Id: strfile.h,v 1.2 1993/08/01 18:54:44 mycroft Exp $
+ *     @(#)strfile.h   8.1 (Berkeley) 5/31/93
  */
 
+#include <sys/types.h>
+
 #define        STR_ENDSTRING(line,tbl) \
        ((line)[0] == (tbl).str_delim && (line)[1] == '\n')
 
 typedef struct {                               /* information table */
 #define        VERSION         1
-       unsigned long   str_version;            /* version number */
-       unsigned long   str_numstr;             /* # of strings in the file */
-       unsigned long   str_longlen;            /* length of longest string */
-       unsigned long   str_shortlen;           /* length of shortest string */
+       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 */
-       unsigned long   str_flags;              /* bit field for flags */
+       u_int32_t       str_flags;              /* bit field for flags */
        unsigned char   stuff[4];               /* long aligned space */
 #define        str_delim       stuff[0]                /* delimiting character */
 } STRFILE;