Declare argument as pointer to const.
authorroland <roland>
Mon, 22 Jan 1996 19:03:25 +0000 (19:03 +0000)
committerroland <roland>
Mon, 22 Jan 1996 19:03:25 +0000 (19:03 +0000)
misc/logout.c

index 11da24f..40ae254 100644 (file)
@@ -48,7 +48,7 @@ typedef struct utmp UTMP;
 
 int
 logout(line)
-       register char *line;
+       register const char *line;
 {
        register int fd;
        UTMP ut;