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 @@ -123,7 +123,7 @@ JsonbValueToJsonb(JsonbValue *val)
123123 * the variable-length-data part of its container. The node is identified
124124 * by index within the container's JEntry array.
125125 */
126- uint32
126+ static uint32
127127getJsonbOffset (const JsonbContainer * jc , int index )
128128{
129129 uint32 offset = 0 ;
@@ -148,7 +148,7 @@ getJsonbOffset(const JsonbContainer *jc, int index)
148148 * Get the length of the variable-length portion of a Jsonb node.
149149 * The node is identified by index within the container's JEntry array.
150150 */
151- uint32
151+ static uint32
152152getJsonbLength (const JsonbContainer * jc , int index )
153153{
154154 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