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 7098e4195820998286492911c50032716f51fb1e..61d9292420018938a92b9e82c6e02a89b4b3e7c3 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 d87a10754668e540371eef0e7c912a1a64dafba5..bbccb221e38f80a4a7f981747b095c271348526c 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>