From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luben Tuikov Subject: [PATCH 2.6.12.5 2/2] include/linux: enclose idr.h in #ifndef Date: Tue, 16 Aug 2005 18:04:04 -0400 Message-ID: <430262D4.9060705@adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from magic.adaptec.com ([216.52.22.17]:11712 "EHLO magic.adaptec.com") by vger.kernel.org with ESMTP id S1751104AbVHPWEL (ORCPT ); Tue, 16 Aug 2005 18:04:11 -0400 Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Linux Kernel Mailing List , SCSI Mailing List , Dave Jones , Jeff Garzik , Jim Houston Hi, This patch encloses the idr.h header file in #ifndef __IDR_H__ macro. Signed-off-by: Luben Tuikov --- linux-2.6.12.5/include/linux/idr.h.old 2005-08-16 17:20:15.000000000 -0400 +++ linux-2.6.12.5/include/linux/idr.h 2005-08-16 17:21:11.000000000 -0400 @@ -8,6 +8,10 @@ * Small id to pointer translation service avoiding fixed sized * tables. */ + +#ifndef __IDR_H__ +#define __IDR_H__ + #include #include @@ -76,3 +80,5 @@ int idr_get_new_above(struct idr *idp, void *ptr, int starting_id, int *id); void idr_remove(struct idr *idp, int id); void idr_init(struct idr *idp); + +#endif /* __IDR_H__ */ - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html