This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cleanup of pty code



Hi,

the appended change is at least needed - but it's not enough since I
still get these messages:

openpty.c: In function `openpty':
openpty.c:39: `PTYNAMELEN' undeclared (first use in this function)
openpty.c:39: (Each undeclared identifier is reported only once
openpty.c:39: for each function it appears in.)
openpty.c:39: warning: unused variable `name'
openpty.c:67: warning: `__a' might be used uninitialized in this function
openpty.c:67: warning: `__b' might be used uninitialized in this function

Andreas

1998-09-18  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* login/openpty.c: Include pty-private.h instead of
	pty-internal.h.

--- login/openpty.c.~1~	Tue Apr  7 18:12:40 1998
+++ login/openpty.c	Fri Sep 18 08:08:14 1998
@@ -25,7 +25,7 @@
 #include <unistd.h>
 #include <sys/types.h>
 
-#include "pty-internal.h"
+#include "pty-private.h"
 
 int
 openpty (pmast, pslave, pname, tio, wins)

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]