pmaports/temp/lightdm/musl-updwtmpx.patch

14 lines
344 B
Diff
Raw Normal View History

--- a/src/session-child.c
+++ b/src/session-child.c
@@ -193,8 +193,8 @@
}
/* GNU provides this but we can't rely on that so let's make our own version */
-static void
-updwtmpx (const gchar *wtmp_file, struct utmpx *ut)
+void
+updwtmpx (const char *wtmp_file, const struct utmpx *ut)
{
struct utmp u;
memset (&u, 0, sizeof (u));