[PATCH 19/20] getutent.3: fix prototypes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The arguments to getutid(), getutline() and pututline() are const.
---
 man3/getutent.3 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man3/getutent.3 b/man3/getutent.3
index 6c7ff1b..5f5ac68 100644
--- a/man3/getutent.3
+++ b/man3/getutent.3
@@ -37,11 +37,11 @@ utmpname \- access utmp file entries
 .sp
 .B struct utmp *getutent(void);
 .br
-.BI "struct utmp *getutid(struct utmp *" ut );
+.BI "struct utmp *getutid(const struct utmp *" ut );
 .br
-.BI "struct utmp *getutline(struct utmp *" ut );
+.BI "struct utmp *getutline(const struct utmp *" ut );
 .sp
-.BI "struct utmp *pututline(struct utmp *" ut );
+.BI "struct utmp *pututline(const struct utmp *" ut );
 .sp
 .B void setutent(void);
 .br
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux