Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4b9e21b

Browse files
committed
cleanup
1 parent a89089c commit 4b9e21b

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/backend/catalog/indexing.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.26 1998/09/01 04:27:33 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.27 1998/09/01 06:22:42 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -45,15 +45,15 @@
4545
*/
4646

4747
char *Name_pg_attr_indices[Num_pg_attr_indices] = {AttributeNameIndex,
48-
AttributeNumIndex,
49-
AttributeRelidIndex};
48+
AttributeNumIndex,
49+
AttributeRelidIndex};
5050
char *Name_pg_proc_indices[Num_pg_proc_indices] = {ProcedureNameIndex,
51-
ProcedureOidIndex,
52-
ProcedureSrcIndex};
51+
ProcedureOidIndex,
52+
ProcedureSrcIndex};
5353
char *Name_pg_type_indices[Num_pg_type_indices] = {TypeNameIndex,
54-
TypeOidIndex};
54+
TypeOidIndex};
5555
char *Name_pg_class_indices[Num_pg_class_indices] = {ClassNameIndex,
56-
ClassOidIndex};
56+
ClassOidIndex};
5757
char *Name_pg_attrdef_indices[Num_pg_attrdef_indices] = {AttrDefaultIndex};
5858

5959
char *Name_pg_relcheck_indices[Num_pg_relcheck_indices] = {RelCheckIndex};

src/backend/utils/adt/int.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.17 1998/09/01 04:32:35 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.18 1998/09/01 06:22:43 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -80,12 +80,12 @@ int2out(int16 sh)
8080
int16 *
8181
int28in(char *shs)
8282
{
83-
int16 **result;
83+
int16 (*result)[];
8484
int nums;
8585

8686
if (shs == NULL)
8787
return NULL;
88-
result = (int16 **) palloc(sizeof(int16[8]));
88+
result = (int16 (*)[]) palloc(sizeof(int16[8]));
8989
if ((nums = sscanf(shs, "%hd%hd%hd%hd%hd%hd%hd%hd",
9090
*result,
9191
*result + 1,
@@ -107,7 +107,7 @@ int28in(char *shs)
107107
* int28out - converts internal form to "num num ..."
108108
*/
109109
char *
110-
int28out(int16 **shs)
110+
int28out(int16 (*shs)[])
111111
{
112112
int num;
113113
int16 *sp;

src/include/utils/builtins.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: builtins.h,v 1.52 1998/09/01 05:34:16 momjian Exp $
9+
* $Id: builtins.h,v 1.53 1998/09/01 06:22:46 momjian Exp $
1010
*
1111
* NOTES
1212
* This should normally only be included by fmgr.h.
@@ -64,7 +64,7 @@ extern bool cideq(int8 arg1, int8 arg2);
6464
extern int32 int2in(char *num);
6565
extern char *int2out(int16 sh);
6666
extern int16 *int28in(char *shs);
67-
extern char *int28out(int16 **shs);
67+
extern char *int28out(int16 (*shs)[]);
6868
extern int32 *int44in(char *input_string);
6969
extern char *int44out(int32 *an_array);
7070
extern int32 int4in(char *num);

0 commit comments

Comments
 (0)