mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
More cleanups
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
# be converted to Method 2.
|
# be converted to Method 2.
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.6 1997/12/19 02:45:38 scrappy Exp $
|
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.7 1997/12/19 02:56:16 scrappy Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ SRCDIR=../..
|
|||||||
include ../../Makefile.global
|
include ../../Makefile.global
|
||||||
|
|
||||||
OBJS = @PORTNAME@/SUBSYS.o @INET_ATON@ @STRERROR@ @RANDOM@ @SRANDOM@
|
OBJS = @PORTNAME@/SUBSYS.o @INET_ATON@ @STRERROR@ @RANDOM@ @SRANDOM@
|
||||||
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @STRCASECMP@
|
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @STRCASECMP@ @STRDUP@
|
||||||
|
|
||||||
all: submake SUBSYS.o
|
all: submake SUBSYS.o
|
||||||
|
|
||||||
|
@@ -36,12 +36,6 @@ putenv(char *name)
|
|||||||
environ[size] = NULL;
|
environ[size] = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
char *
|
|
||||||
strdup(const char *string)
|
|
||||||
{
|
|
||||||
return strcpy(malloc(strlen(string) + 1), string);
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef _POSIX_SOURCE
|
#ifndef _POSIX_SOURCE
|
||||||
int
|
int
|
||||||
sigaddset(int *set, int signo)
|
sigaddset(int *set, int signo)
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
*
|
*
|
||||||
* strdup.c--
|
* strdup.c--
|
||||||
@@ -7,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/port/ultrix4/Attic/strdup.c,v 1.4 1997/09/08 02:27:37 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/port/Attic/strdup.c,v 1.1 1997/12/19 02:56:17 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
@@ -4,7 +4,7 @@
|
|||||||
# Makefile for port/univel
|
# Makefile for port/univel
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/backend/port/univel/Attic/Makefile,v 1.1 1997/03/25 07:54:31 scrappy Exp $
|
# $Header: /cvsroot/pgsql/src/backend/port/univel/Attic/Makefile,v 1.2 1997/12/19 02:56:35 scrappy Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ INCLUDE_OPT = -I../.. \
|
|||||||
|
|
||||||
CFLAGS+=$(INCLUDE_OPT)
|
CFLAGS+=$(INCLUDE_OPT)
|
||||||
|
|
||||||
OBJS = port.o #tas.o
|
OBJS = #tas.o
|
||||||
|
|
||||||
all: SUBSYS.o
|
all: SUBSYS.o
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user