1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Remove sys/types.h in files that include postgres.h, and hence c.h,

because c.h has sys/types.h.
This commit is contained in:
Bruce Momjian
2002-09-02 02:47:07 +00:00
parent 248c67d7ed
commit 97ac103289
64 changed files with 73 additions and 135 deletions

View File

@@ -4,14 +4,14 @@
* 30159 Hannover, Germany
*/
#include "postgres.h"
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include "sys/ldr.h"
#include <a.out.h>
#include "ldfcn.h"
#include "postgres.h"
#include "dynloader.h"
#ifndef HAVE_DLOPEN

View File

@@ -36,7 +36,9 @@
static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include "postgres.h"
#include "dynloader.h"
#include <nlist.h>
#include <link.h>
#include <dlfcn.h>
@@ -44,9 +46,6 @@ static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#include <stdio.h>
#include <stdlib.h>
#include "postgres.h"
#include "dynloader.h"
static char error_message[BUFSIZ];
char *

View File

@@ -36,7 +36,8 @@
static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include "postgres.h"
#include <nlist.h>
#include <link.h>
#include <dlfcn.h>
@@ -44,7 +45,6 @@ static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#include <stdio.h>
#include <stdlib.h>
#include "postgres.h"
#include "dynloader.h"
static char error_message[BUFSIZ];

View File

@@ -36,7 +36,8 @@
static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#include "postgres.h"
#include <nlist.h>
#include <link.h>
#include <dlfcn.h>
@@ -44,7 +45,6 @@ static char sccsid[] = "@(#)dl.c 5.4 (Berkeley) 2/23/91";
#include <stdio.h>
#include <stdlib.h>
#include "postgres.h"
#include "dynloader.h"
static char error_message[BUFSIZ];

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/sem.c,v 1.9 2001/10/28 06:25:47 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/qnx4/Attic/sem.c,v 1.10 2002/09/02 02:47:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,7 +17,6 @@
#include <errno.h>
#include <semaphore.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>

View File

@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/sysv_sema.c,v 1.2 2002/06/20 20:29:33 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/sysv_sema.c,v 1.3 2002/09/02 02:47:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,7 +18,6 @@
#include <signal.h>
#include <unistd.h>
#include <sys/file.h>
#include <sys/types.h>
#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
#endif

View File

@@ -10,7 +10,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.2 2002/06/20 20:29:33 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/port/sysv_shmem.c,v 1.3 2002/09/02 02:47:03 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -20,7 +20,6 @@
#include <signal.h>
#include <unistd.h>
#include <sys/file.h>
#include <sys/types.h>
#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
#endif