Skip to content

Commit b3c6d55

Browse files
df7cbmsdemlei
authored andcommitted
Rename internal function moc_round to moc_degrade for consistency
1 parent 91612c5 commit b3c6d55

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

moc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ smoc_degrade(PG_FUNCTION_ARGS)
944944

945945
check_order(order);
946946

947-
moc_round(moc_in_context, order, moc_a, VARSIZE(moc_a) - VARHDRSZ, moc_error_out);
947+
moc_degrade(moc_in_context, order, moc_a, VARSIZE(moc_a) - VARHDRSZ, moc_error_out);
948948

949949
moc_size = VARHDRSZ + get_moc_size(moc_in_context, moc_error_out);
950950
/* palloc() will leak the moc_in_context if it fails :-/ */

pgs_process_moc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ moc_intersection(void* moc_in_context, Smoc* moc_a, int32 moc_a_end, Smoc* moc_b
150150
pgs_error_handler error_out);
151151

152152
void
153-
moc_round(void* moc_in_context, int order, Smoc* moc_a, int32 moc_a_end,
153+
moc_degrade(void* moc_in_context, int order, Smoc* moc_a, int32 moc_a_end,
154154
pgs_error_handler error_out);
155155

156156
void

process_moc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ moc_intersection(void* moc_in_context, Smoc* moc_a, int32 moc_a_end, Smoc* moc_b
948948
}
949949

950950
void
951-
moc_round(void* moc_in_context, int order, Smoc* moc_a, int32 moc_a_end,
951+
moc_degrade(void* moc_in_context, int order, Smoc* moc_a, int32 moc_a_end,
952952
pgs_error_handler error_out)
953953
{
954954
moc_input* p = static_cast<moc_input*>(moc_in_context);

0 commit comments

Comments
 (0)