.
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysvinit?expand=0&rev=115
This commit is contained in:
parent
c380737d1a
commit
fd5a3cc479
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user