bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lib/bbitset.h code cleanup for C89


From: Paul Eggert
Subject: lib/bbitset.h code cleanup for C89
Date: Wed, 12 Mar 2003 15:03:01 -0800 (PST)

While fixing something else, I noticed that bbitset.h includes
limits.h conditionally.  We've been assuming C89 for some time now in
the bitset code, so I installed this minor code cleanup.

2003-03-12  Paul Eggert  <address@hidden>

        * lib/bbitset.h: Include <limits.h> unconditionally.  We have been
        assuming at least C89 in the bitset code for some time now.

--- lib/bbitset.h       13 Nov 2002 07:02:13 -0000      1.10
+++ lib/bbitset.h       12 Mar 2003 22:59:34 -0000
@@ -1,5 +1,5 @@
 /* Base bitset stuff.
-   Copyright (C) 2002 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    Contributed by Michael Hayes (address@hidden).
 
 This program is free software; you can redistribute it and/or modify
@@ -21,9 +21,7 @@ Foundation, Inc., 59 Temple Place - Suit
 
 #include "libiberty.h"
 
-#ifdef HAVE_LIMITS_H
 #include <limits.h>
-#endif
 
 /* Currently we support three flavours of bitsets:
    BITSET_ARRAY:  Array of bits (fixed size, fast for dense bitsets).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]