File 0003-gcc-c23-changes.patch of Package libpst
diff -up libpst-0.6.76/src/readpst.c.gcc-changes libpst-0.6.76/src/readpst.c
--- libpst-0.6.76/src/readpst.c.gcc-changes 2025-01-22 08:18:34.846378892 +0100
+++ libpst-0.6.76/src/readpst.c 2025-01-22 08:18:42.508459826 +0100
@@ -26,7 +26,6 @@ struct file_ll {
int32_t skip_count;
};
-int grim_reaper();
pid_t try_fork(char* folder);
void process(pst_item *outeritem, pst_desc_tree *d_ptr);
void write_email_body(FILE *f, char *body);
@@ -152,7 +151,7 @@ sem_t* output_mutex = NULL;
#endif
-int grim_reaper(int waitall)
+static int grim_reaper(int waitall)
{
int available = 0;
#ifdef HAVE_FORK