From b4668a5405b2780e6cdef6b9da45461cf5fce669 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 19 Aug 2001 04:33:19 +0000 Subject: [PATCH] Use header-reuse #defines that are ANSI C compatible. svn path=/trunk/yasm/; revision=144 --- libyasm/compat-queue.h | 8 ++++---- src/compat-queue.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libyasm/compat-queue.h b/libyasm/compat-queue.h index d8dd50c3..8ffe1385 100644 --- a/libyasm/compat-queue.h +++ b/libyasm/compat-queue.h @@ -1,4 +1,4 @@ -/* $Id: compat-queue.h,v 1.1 2001/08/19 04:32:02 peter Exp $ +/* $Id: compat-queue.h,v 1.2 2001/08/19 04:33:19 peter Exp $ * implementation for systems that don't have it. */ /* $OpenBSD: queue.h,v 1.16 2000/09/07 19:47:59 art Exp $ */ @@ -35,8 +35,8 @@ * @(#)queue.h 8.5 (Berkeley) 8/20/94 */ -#ifndef _SYS_QUEUE_H_ -#define _SYS_QUEUE_H_ +#ifndef SYS_QUEUE_H +#define SYS_QUEUE_H /* * This file defines five types of data structures: singly-linked lists, @@ -486,4 +486,4 @@ struct { \ (elm2)->field.cqe_prev->field.cqe_next = (elm2); \ } while (0) -#endif /* !_SYS_QUEUE_H_ */ +#endif /* !SYS_QUEUE_H */ diff --git a/src/compat-queue.h b/src/compat-queue.h index d8dd50c3..8ffe1385 100644 --- a/src/compat-queue.h +++ b/src/compat-queue.h @@ -1,4 +1,4 @@ -/* $Id: compat-queue.h,v 1.1 2001/08/19 04:32:02 peter Exp $ +/* $Id: compat-queue.h,v 1.2 2001/08/19 04:33:19 peter Exp $ * implementation for systems that don't have it. */ /* $OpenBSD: queue.h,v 1.16 2000/09/07 19:47:59 art Exp $ */ @@ -35,8 +35,8 @@ * @(#)queue.h 8.5 (Berkeley) 8/20/94 */ -#ifndef _SYS_QUEUE_H_ -#define _SYS_QUEUE_H_ +#ifndef SYS_QUEUE_H +#define SYS_QUEUE_H /* * This file defines five types of data structures: singly-linked lists, @@ -486,4 +486,4 @@ struct { \ (elm2)->field.cqe_prev->field.cqe_next = (elm2); \ } while (0) -#endif /* !_SYS_QUEUE_H_ */ +#endif /* !SYS_QUEUE_H */ -- 2.40.0