core: Remove redundant declaration

Fix problem when building with -Werror=redundant-decls:

../src/pipewire/core.h:661:7: error: redundant redeclaration of ‘pw_core_get_user_data’ [-Werror=redundant-decls]
  661 | void *pw_core_get_user_data(struct pw_core *core);
      |       ^~~~~~~~~~~~~~~~~~~~~
../src/pipewire/core.h:446:7: note: previous declaration of ‘pw_core_get_user_data’ with type ‘void *(struct pw_core *)’
  446 | void *pw_core_get_user_data(struct pw_core *object);
      |       ^~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
Jonas Holmberg 2024-11-27 17:33:11 +01:00
parent 0a0b1d594b
commit e9092d7d2f

View file

@ -443,8 +443,6 @@ pw_core_destroy(struct pw_core *core, void *proxy)
proxy);
}
void *pw_core_get_user_data(struct pw_core *object);
/**
* \}
*/