mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
Cosmetic improvements to the timezone code: remove the use of the
'register' qualifier, make some function declarations more consistent, and so on.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
* 1996-06-05 by Arthur David Olson (arthur_david_olson@nih.gov).
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/timezone/ialloc.c,v 1.5 2004/05/21 20:59:10 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/timezone/ialloc.c,v 1.6 2005/06/20 08:00:51 neilc Exp $
|
||||
*/
|
||||
|
||||
#include "postgres.h"
|
||||
@ -38,9 +38,9 @@ irealloc(void *pointer, const int size)
|
||||
char *
|
||||
icatalloc(char *old, const char *new)
|
||||
{
|
||||
register char *result;
|
||||
register int oldsize,
|
||||
newsize;
|
||||
char *result;
|
||||
int oldsize,
|
||||
newsize;
|
||||
|
||||
newsize = (new == NULL) ? 0 : strlen(new);
|
||||
if (old == NULL)
|
||||
|
Reference in New Issue
Block a user