copy & pasted include guard in attoptcache.h

Lists: pgsql-hackers
From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: copy & pasted include guard in attoptcache.h
Date: 2013-07-06 10:12:08
Message-ID: 20130706101208.GB15764@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi,

attoptcache.h currently uses #ifndef SPCCACHE_H. The attached patch
fixes that.
A quick
$ grep -r '\#ifndef' src/include/|grep _H|awk '{print $2}'|sort|uniq -cd
doesn't show any further duplicated ones.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
0001-Fix-copy-pasted-include-guard-name-in-attoptcache.h.patch text/x-patch 917 bytes

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: copy & pasted include guard in attoptcache.h
Date: 2013-07-07 11:40:17
Message-ID: CABUevEyW_iD28cHDs3s9nf-OQ4QCZUvW6qTwYdQZqquuDF=0fg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Jul 6, 2013 at 12:12 PM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:
> Hi,
>
> attoptcache.h currently uses #ifndef SPCCACHE_H. The attached patch
> fixes that.
> A quick
> $ grep -r '\#ifndef' src/include/|grep _H|awk '{print $2}'|sort|uniq -cd
> doesn't show any further duplicated ones.

Applied, thanks!

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/