提交 70718dc2 编写于 作者: M Marc G. Fournier

More cleanups

上级 3aae0f53
...@@ -19,7 +19,7 @@ ...@@ -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=../.. ...@@ -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) ...@@ -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)
......
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* *
* strdup.c-- * strdup.c--
...@@ -7,7 +8,7 @@ ...@@ -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 @@ ...@@ -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../.. \ ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册