11 lines
303 B
Diff
11 lines
303 B
Diff
--- a/examples/rlfe/pty.c
|
|
+++ b/examples/rlfe/pty.c
|
|
@@ -254,7 +254,7 @@ char **ttyn;
|
|
#if defined(HAVE_GETPT) && defined(linux)
|
|
int getpt __P((void));
|
|
#endif
|
|
- sigret_t (*sigcld)__P(SIGPROTOARG);
|
|
+ sighandler_t sigcld;
|
|
|
|
strcpy(PtyName, "/dev/ptmx");
|
|
#if defined(HAVE_GETPT) && defined(linux)
|