mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/utils/Attic/strdup.c,v 1.3 1997/09/07 05:04:45 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/utils/Attic/strdup.c,v 1.4 1997/09/08 02:41:21 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -15,10 +15,10 @@
|
||||
#include <stdlib.h>
|
||||
#include "strdup.h"
|
||||
|
||||
char *
|
||||
char *
|
||||
strdup(char const * string)
|
||||
{
|
||||
char *nstr;
|
||||
char *nstr;
|
||||
|
||||
nstr = strcpy((char *) malloc(strlen(string) + 1), string);
|
||||
return nstr;
|
||||
|
Reference in New Issue
Block a user