aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/musl-updwtmpx.patch
blob: 1b21a4677466e4662bd2cb1c6452ad8b4ea51a83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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));