aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lightdm/musl-updwtmpx.patch
blob: 106e366e16bd0a28288c835eb477b03e0c6422a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./src/session-child.c.orig
+++ ./src/session-child.c
@@ -198,8 +198,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;