From fd5a3cc479f52053370f45e7dfbe2bb510f0e6ddaad612fd336d7088e85c5b6a Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 1 Apr 2011 13:09:40 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=115 --- showconsole-1.14.dif | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/showconsole-1.14.dif b/showconsole-1.14.dif index 7bff08d..c02c9b0 100644 --- a/showconsole-1.14.dif +++ b/showconsole-1.14.dif @@ -74,3 +74,22 @@ tail = tail->next; if ((flags = fcntl(newc->fd, F_GETFL)) < 0) +--- libconsole.h ++++ libconsole.h 2011-03-31 14:47:22.755926508 +0000 +@@ -39,7 +39,7 @@ struct console { + int fd, tlock; + ssize_t max_canon; + struct termios ltio, otio; +- struct console *restrict next; ++ struct console * next; + }; + extern void error (const char *fmt, ...) attribute((__noreturn__, __format__(__printf__, 1, 2))); + extern void warn (const char *fmt, ...) attribute((__format__(__printf__, 1, 2))); +@@ -50,6 +50,6 @@ extern void secondtty(struct console *re + extern void prepareIO(void (*rfunc)(int), void (*pfunc)(void), const pid_t, const int); + extern void safeIO (void); + extern void closeIO(void); +-extern struct console *restrict cons; ++extern struct console *cons; + #define alignof(type) ((sizeof(type)+(sizeof(void*)-1)) & ~(sizeof(void*)-1)) + #define strsize(string) ((strlen(string)+1)*sizeof(char))