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 @@ -132,7 +132,7 @@ JsonbValueToJsonb(JsonbValue *val)
132132 * the variable-length-data part of its container. The node is identified
133133 * by index within the container's JEntry array.
134134 */
135- uint32
135+ static uint32
136136getJsonbOffset (const JsonbContainer * jc , int index )
137137{
138138 uint32 offset = 0 ;
@@ -157,7 +157,7 @@ getJsonbOffset(const JsonbContainer *jc, int index)
157157 * Get the length of the variable-length portion of a Jsonb node.
158158 * The node is identified by index within the container's JEntry array.
159159 */
160- uint32
160+ static uint32
161161getJsonbLength (const JsonbContainer * jc , int index )
162162{
163163 uint32 off ;
Original file line number Diff line number Diff line change @@ -394,8 +394,6 @@ typedef enum /* type categories for datum_to_jsonb */
394394} JsonbTypeCategory ;
395395
396396/* Support functions */
397- extern uint32 getJsonbOffset (const JsonbContainer * jc , int index );
398- extern uint32 getJsonbLength (const JsonbContainer * jc , int index );
399397extern int compareJsonbContainers (JsonbContainer * a , JsonbContainer * b );
400398extern JsonbValue * findJsonbValueFromContainer (JsonbContainer * sheader ,
401399 uint32 flags ,
You can’t perform that action at this time.
0 commit comments