Skip to content
Snippets Groups Projects
Commit ac3edcd5 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Attempt at workaround for spurious warning.

Rev: src/pike_macros.h:1.16
parent 1b023ccd
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\*/ \*/
/* /*
* $Id: pike_macros.h,v 1.15 2000/04/15 05:05:28 hubbe Exp $ * $Id: pike_macros.h,v 1.16 2000/06/27 15:19:33 grubba Exp $
*/ */
#ifndef MACROS_H #ifndef MACROS_H
#define MACROS_H #define MACROS_H
...@@ -62,15 +62,15 @@ ...@@ -62,15 +62,15 @@
#define DO_ALIGN(X,Y) (((long)(X)+((Y)-1)) & -(Y)) #define DO_ALIGN(X,Y) (((long)(X)+((Y)-1)) & -(Y))
#define CONSTANT_STRLEN(X) (sizeof(X) - sizeof("")) #define CONSTANT_STRLEN(X) (sizeof(X) - sizeof(""))
#define SET_NEXT_AND_FREE(p,free_program) do{ \ #define SET_NEXT_AND_FREE(p,free_item) do{ \
next=p->next; \ next=p->next; \
while(p->refs == 1 && (next=p->next)) \ while(p->refs == 1 && (next=p->next)) \
{ \ { \
add_ref(next); \ add_ref(next); \
free_program(p); \ free_item(p); \
p=next; \ p=next; \
} \ } \
free_program(p); \ free_item(p); \
}while(0) }while(0)
#define DOUBLELINK(first_object, o) do { \ #define DOUBLELINK(first_object, o) do { \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment