termux-packages/x11-packages/kcoreaddons/no_redefinition_kuser_unix....

14 lines
532 B
Diff
Raw Normal View History

--- src/src/lib/util/kuser_unix.cpp 2021-05-19 15:27:34.057310497 +0100
+++ src.mod/src/lib/util/kuser_unix.cpp 2021-05-19 15:27:55.301184843 +0100
@@ -25,10 +25,6 @@
#if defined(__BIONIC__) && __ANDROID_API__ < 26
static inline struct passwd * getpwent() { return nullptr; }
inline void setpwent() { }
-static inline void setgrent() { }
-static inline struct group * getgrent() { return nullptr; }
-inline void endpwent() { }
-static inline void endgrent() { }
#endif
class Q_DECL_HIDDEN KUser::Private : public QSharedData