variable TriggerFile can be declared as static

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: variable TriggerFile can be declared as static
Date: 2010-06-10 07:25:07
Message-ID: AANLkTilRxyFGZwZuUGqX3cokNMbGvatPXhGPudG1BWXN@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Currently the variable TriggerFile is declared as extern, but
it's not used in other source file than xlog.c. How about
declaring it as static? Here is the patch.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment Content-Type Size
definition_triggerfile_v1.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2010-06-10 07:28:25 Re: Command to prune archive at restartpoints
Previous Message Heikki Linnakangas 2010-06-10 07:18:08 Re: Command to prune archive at restartpoints