diff options
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/catalog/indexing.c | 14 | ||||
-rw-r--r-- | src/backend/utils/adt/int.c | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/backend/catalog/indexing.c b/src/backend/catalog/indexing.c index ad66f892696..c77636bca8b 100644 --- a/src/backend/catalog/indexing.c +++ b/src/backend/catalog/indexing.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.26 1998/09/01 04:27:33 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/indexing.c,v 1.27 1998/09/01 06:22:42 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -45,15 +45,15 @@ */ char *Name_pg_attr_indices[Num_pg_attr_indices] = {AttributeNameIndex, - AttributeNumIndex, -AttributeRelidIndex}; + AttributeNumIndex, + AttributeRelidIndex}; char *Name_pg_proc_indices[Num_pg_proc_indices] = {ProcedureNameIndex, - ProcedureOidIndex, -ProcedureSrcIndex}; + ProcedureOidIndex, + ProcedureSrcIndex}; char *Name_pg_type_indices[Num_pg_type_indices] = {TypeNameIndex, -TypeOidIndex}; + TypeOidIndex}; char *Name_pg_class_indices[Num_pg_class_indices] = {ClassNameIndex, -ClassOidIndex}; + ClassOidIndex}; char *Name_pg_attrdef_indices[Num_pg_attrdef_indices] = {AttrDefaultIndex}; char *Name_pg_relcheck_indices[Num_pg_relcheck_indices] = {RelCheckIndex}; diff --git a/src/backend/utils/adt/int.c b/src/backend/utils/adt/int.c index 4eb646392f6..6037032ed13 100644 --- a/src/backend/utils/adt/int.c +++ b/src/backend/utils/adt/int.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.17 1998/09/01 04:32:35 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/int.c,v 1.18 1998/09/01 06:22:43 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -80,12 +80,12 @@ int2out(int16 sh) int16 * int28in(char *shs) { - int16 **result; + int16 (*result)[]; int nums; if (shs == NULL) return NULL; - result = (int16 **) palloc(sizeof(int16[8])); + result = (int16 (*)[]) palloc(sizeof(int16[8])); if ((nums = sscanf(shs, "%hd%hd%hd%hd%hd%hd%hd%hd", *result, *result + 1, @@ -107,7 +107,7 @@ int28in(char *shs) * int28out - converts internal form to "num num ..." */ char * -int28out(int16 **shs) +int28out(int16 (*shs)[]) { int num; int16 *sp; |