test-forkpty: fix expected signature
authorIan Beckwith <ianb@erislabs.net>
Mon, 19 Apr 2010 16:32:51 +0000 (17:32 +0100)
committerIan Beckwith <ianb@erislabs.net>
Mon, 19 Apr 2010 16:32:51 +0000 (17:32 +0100)
* tests/test-forkpty.c (SIGNATURE_CHECK): Add appropriate const.
Reported by Simon Josefsson.

Signed-off-by: Eric Blake <eblake@redhat.com>
(cherry picked from commit 56d363d4ccf9d50e9c2fcc5080e8e8d69bc9d5ca)

ChangeLog
tests/test-forkpty.c

index 5496513..bf8bd0b 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-14  Eric Blake  <eblake@redhat.com>
 
        strtok_r: relax license to LGPLv2+
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>