pgpool2.git / summary / log / commit / refs

commit    3dce610eca07759b05fd1dd39decd77e235cac13
Author:   Tatsuo Ishii <ishii@sraoss.co.jp>
Date:     Sat Dec 24 03:41:01 2022 +0000

    Fix compiler warning.
    
    pgpool-regclass.c needed to include "utils/varlena.h".  Also sort out
    the header files order (except postgres.h which needs to be appear at
    the top among PostgreSQL header files).
    
    The compiler warning was reported by Florian Weimer.
    https://www.pgpool.net/pipermail/pgpool-hackers/2022-December/004241.html


src/sql/pgpool-regclass/pgpool-regclass.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/sql/pgpool-regclass/pgpool-regclass.c b/src/sql/pgpool-regclass/pgpool-regclass.c index bbb3d8ccf..9317d8aa1 100644 --- a/src/sql/pgpool-regclass/pgpool-regclass.c +++ b/src/sql/pgpool-regclass/pgpool-regclass.c @@ -2,7 +2,7 @@ /* * $Header$ * - * Copyright (c) 2003-2012 PgPool Global Development Group + * Copyright (c) 2003-2022 PgPool Global Development Group * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose and without fee is hereby @@ -20,20 +20,21 @@ * If something goes wrong, it returns InvalidOid. */ +#include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> + #include "postgres.h" -#include "utils/builtins.h" -#include "utils/syscache.h" -#include "utils/elog.h" #include "catalog/namespace.h" -#include "nodes/makefuncs.h" #include "commands/dbcommands.h" #include "fmgr.h" #include "funcapi.h" - -#include <stdlib.h> +#include "nodes/makefuncs.h" +#include "utils/builtins.h" +#include "utils/elog.h" +#include "utils/syscache.h" +#include "utils/varlena.h" #ifdef PG_MODULE_MAGIC PG_MODULE_MAGIC; [parent: 299eaa4c52ea]