More cleanups

This commit is contained in:
Marc G. Fournier 1997-12-19 02:56:35 +00:00
parent 3aae0f5300
commit 70718dc25a
4 changed files with 6 additions and 11 deletions

View File

@ -19,7 +19,7 @@
# be converted to Method 2.
#
# 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
OBJS = @PORTNAME@/SUBSYS.o @INET_ATON@ @STRERROR@ @RANDOM@ @SRANDOM@
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @STRCASECMP@
OBJS+= @GETHOSTNAME@ @GETRUSAGE@ @STRCASECMP@ @STRDUP@
all: submake SUBSYS.o

View File

@ -36,12 +36,6 @@ putenv(char *name)
environ[size] = NULL;
}
char *
strdup(const char *string)
{
return strcpy(malloc(strlen(string) + 1), string);
}
#ifndef _POSIX_SOURCE
int
sigaddset(int *set, int signo)

View File

@ -1,3 +1,4 @@
/*-------------------------------------------------------------------------
*
* strdup.c--
@ -7,7 +8,7 @@
*
*
* 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 $
*
*-------------------------------------------------------------------------
*/

View File

@ -4,7 +4,7 @@
# Makefile for port/univel
#
# 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)
OBJS = port.o #tas.o
OBJS = #tas.o
all: SUBSYS.o