(obstack_empty_p) [!__GNUC__]: Properly parenthesize the macro
authordrepper <drepper>
Sun, 26 Oct 1997 17:18:22 +0000 (17:18 +0000)
committerdrepper <drepper>
Sun, 26 Oct 1997 17:18:22 +0000 (17:18 +0000)
parameter.

malloc/obstack.h

index 49492eb..e7ae695 100644 (file)
@@ -498,7 +498,7 @@ __extension__                                                               \
  (unsigned) ((h)->chunk_limit - (h)->next_free)
 
 #define obstack_empty_p(h) \
- (h->chunk->prev == 0 && h->next_free - h->chunk->contents == 0)
+ ((h)->chunk->prev == 0 && (h)->next_free - (h)->chunk->contents == 0)
 
 /* Note that the call to _obstack_newchunk is enclosed in (..., 0)
    so that we can avoid having void expressions