From: Sun Yuechi Date: Mon, 15 Jun 2026 20:10:52 +0000 (+0800) Subject: pybind/cephfs: drop redundant int32_t typedef X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d4fc8b65b71239d6514e4389a06a927bb2a2d635;p=ceph.git pybind/cephfs: drop redundant int32_t typedef int32_t is already provided by "from libc.stdint cimport *", so the extra ctypedef in the platform_errno.h extern block redeclares it: warning: c_cephfs.pxd:29:4: 'int32_t' redeclared Fixes: https://tracker.ceph.com/issues/77440 Signed-off-by: Sun Yuechi --- diff --git a/src/pybind/cephfs/c_cephfs.pxd b/src/pybind/cephfs/c_cephfs.pxd index 9d5b93c0493..603906046a4 100644 --- a/src/pybind/cephfs/c_cephfs.pxd +++ b/src/pybind/cephfs/c_cephfs.pxd @@ -26,7 +26,6 @@ cdef extern from *: unsigned long DIRENT_D_OFF(dirent *d) cdef extern from "../include/platform_errno.h": - ctypedef signed int int32_t; int32_t ceph_to_hostos_errno(int32_t e) cdef extern from "cephfs/ceph_ll_client.h":