ports/misc/orville-write/files/patch-getutent.h
Stefan Eßer 5a1b795757 Fix build with -fno-common
While here fix one program error ("%s" format without argument).
2020-10-01 15:31:55 +00:00

13 lines
366 B
C

--- getutent.h.orig 2000-02-01 06:01:13 UTC
+++ getutent.h
@@ -14,8 +14,8 @@
int utmpname(const char *file);
void endutent(void);
void setutent(void);
-struct utmp *getutent(void);
-struct utmp *getutline(const struct utmp *ut);
+struct utmpx *getutent(void);
+struct utmpx *getutline(const struct utmpx *ut);
#endif /*HAVE_GETUTENT*/
#endif /* GETUTENT_H */