Skip to content

Commit ee95803

Browse files
committed
Make functions static
1 parent c18073c commit ee95803

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Objects/object.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2934,7 +2934,7 @@ Py_ReprLeave(PyObject *obj)
29342934
* an object. It is important that we never store 0 (NULL).
29352935
* It is also important to not make the object appear immortal,
29362936
* or it might be untracked by the cycle GC. */
2937-
uintptr_t
2937+
static uintptr_t
29382938
pointer_to_safe_refcount(void *ptr)
29392939
{
29402940
uintptr_t full = (uintptr_t)ptr;
@@ -2950,7 +2950,7 @@ pointer_to_safe_refcount(void *ptr)
29502950
#endif
29512951
}
29522952

2953-
void *
2953+
static void *
29542954
safe_refcount_to_pointer(uintptr_t refcnt)
29552955
{
29562956
#if defined(Py_GIL_DISABLED)

0 commit comments

Comments
 (0)