1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

Fix a passel of recently-committed violations of the rule 'thou shalt

have no other gods before c.h'.  Also remove some demonstrably redundant
#include lines, mostly of <errno.h> which was added to c.h years ago.
This commit is contained in:
Tom Lane
2006-07-14 05:28:29 +00:00
parent 51e8882197
commit ae643747b1
40 changed files with 49 additions and 94 deletions

View File

@ -1,7 +1,7 @@
/*
* This is a port of the Double Metaphone algorithm for use in PostgreSQL.
*
* $PostgreSQL: pgsql/contrib/fuzzystrmatch/dmetaphone.c,v 1.7 2006/03/11 04:38:29 momjian Exp $
* $PostgreSQL: pgsql/contrib/fuzzystrmatch/dmetaphone.c,v 1.8 2006/07/14 05:28:27 tgl Exp $
*
* Double Metaphone computes 2 "sounds like" strings - a primary and an
* alternate. In most cases they are the same, but for foreign names
@ -50,8 +50,8 @@
/*
* $Revision: 1.7 $
* $Id: dmetaphone.c,v 1.7 2006/03/11 04:38:29 momjian Exp $
* $Revision: 1.8 $
* $Id: dmetaphone.c,v 1.8 2006/07/14 05:28:27 tgl Exp $
*/
@ -106,8 +106,8 @@ The remaining code is authored by Andrew Dunstan <amdunstan@ncshp.org> and
#ifndef DMETAPHONE_MAIN
#include "postgres.h"
#include "fmgr.h"
#include "utils/elog.h"
/* turn off assertions for embedded function */
#define NDEBUG