File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ JsonbValueToJsonb(JsonbValue *val)
130130 * the variable-length-data part of its container. The node is identified
131131 * by index within the container's JEntry array.
132132 */
133- uint32
133+ static uint32
134134getJsonbOffset (const JsonbContainer * jc , int index )
135135{
136136 uint32 offset = 0 ;
@@ -155,7 +155,7 @@ getJsonbOffset(const JsonbContainer *jc, int index)
155155 * Get the length of the variable-length portion of a Jsonb node.
156156 * The node is identified by index within the container's JEntry array.
157157 */
158- uint32
158+ static uint32
159159getJsonbLength (const JsonbContainer * jc , int index )
160160{
161161 uint32 off ;
Original file line number Diff line number Diff line change @@ -376,8 +376,6 @@ typedef struct JsonbIterator
376376
377377
378378/* Support functions */
379- extern uint32 getJsonbOffset (const JsonbContainer * jc , int index );
380- extern uint32 getJsonbLength (const JsonbContainer * jc , int index );
381379extern int compareJsonbContainers (JsonbContainer * a , JsonbContainer * b );
382380extern JsonbValue * findJsonbValueFromContainer (JsonbContainer * sheader ,
383381 uint32 flags ,
You can’t perform that action at this time.
0 commit comments