test-forkpty: fix expected signature
authorEric Blake <eblake@redhat.com>
Thu, 15 Apr 2010 13:54:02 +0000 (07:54 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 15 Apr 2010 13:54:35 +0000 (07:54 -0600)
* tests/test-forkpty.c (SIGNATURE_CHECK): Add appropriate const.
Reported by Simon Josefsson.

Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
tests/test-forkpty.c

index 7098e41..61d9292 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-15  Eric Blake  <eblake@redhat.com>
+
+       test-forkpty: fix expected signature
+       * tests/test-forkpty.c (SIGNATURE_CHECK): Add appropriate const.
+       Reported by Simon Josefsson.
+
 2010-04-15  Jim Meyering  <meyering@redhat.com>
 
        maint.mk: texinfo_suffix_re_: correct the default regexp
index d87a107..bbccb22 100644 (file)
@@ -21,8 +21,8 @@
 #include <pty.h>
 
 #include "signature.h"
-SIGNATURE_CHECK (forkpty, int, (int *, char *, struct termios *,
-                                struct winsize *));
+SIGNATURE_CHECK (forkpty, int, (int *, char *, struct termios const *,
+                                struct winsize const *));
 
 #include <stdio.h>