diff options
Diffstat (limited to 'src/backend/port/ultrix4/strdup.c')
-rw-r--r-- | src/backend/port/ultrix4/strdup.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/port/ultrix4/strdup.c b/src/backend/port/ultrix4/strdup.c index 882f0047e63..a738e1611ef 100644 --- a/src/backend/port/ultrix4/strdup.c +++ b/src/backend/port/ultrix4/strdup.c @@ -1,13 +1,13 @@ /*------------------------------------------------------------------------- * * strdup.c-- - * copies a null-terminated string. + * copies a null-terminated string. * * Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/port/ultrix4/Attic/strdup.c,v 1.2 1996/11/26 03:19:04 bryanh Exp $ + * $Header: /cvsroot/pgsql/src/backend/port/ultrix4/Attic/strdup.c,v 1.3 1997/09/07 04:47:28 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -17,11 +17,11 @@ #include "port-protos.h" -char * -strdup(char const *string) +char * +strdup(char const * string) { - char *nstr; + char *nstr; - nstr = strcpy((char *)palloc(strlen(string)+1), string); - return nstr; + nstr = strcpy((char *) palloc(strlen(string) + 1), string); + return nstr; } |