From 76ba9c8f2ffd6f5caadd44f0b9859d781356fc53 Mon Sep 17 00:00:00 2001 From: mdw Date: Thu, 19 Apr 2001 18:23:53 +0000 Subject: [PATCH] Use unsigned integer rather than enum for flags. --- grand.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/grand.h b/grand.h index 7b6fdbb..160663e 100644 --- a/grand.h +++ b/grand.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: grand.h,v 1.3 2001/02/03 16:07:33 mdw Exp $ + * $Id: grand.h,v 1.4 2001/04/19 18:23:53 mdw Exp $ * * Generic interface to random number generators * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: grand.h,v $ + * Revision 1.4 2001/04/19 18:23:53 mdw + * Use unsigned integer rather than enum for flags. + * * Revision 1.3 2001/02/03 16:07:33 mdw * Give generic random objects separate namespaces for their supported misc * ops. @@ -91,9 +94,7 @@ typedef struct grand_ops { /* --- Flag types --- */ -enum { - GRAND_CRYPTO = 1u /* Cryptographically strong */ -}; +#define GRAND_CRYPTO 1u /* Cryptographically strong */ /* --- Operation types --- */ -- 2.11.0