summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/libc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/libc')
-rw-r--r--winsup/cygwin/libc/bsdlib.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/libc/bsdlib.cc b/winsup/cygwin/libc/bsdlib.cc
index b61c7aaaf..9d488c35a 100644
--- a/winsup/cygwin/libc/bsdlib.cc
+++ b/winsup/cygwin/libc/bsdlib.cc
@@ -271,7 +271,7 @@ logwtmp (const char *line, const char *user, const char *host)
}
extern "C" void
-login (struct utmp *ut)
+login (const struct utmp *ut)
{
pututline (ut);
endutent ();
@@ -279,7 +279,7 @@ login (struct utmp *ut)
}
extern "C" int
-logout (char *line)
+logout (const char *line)
{
struct utmp ut_buf, *ut;