* 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)
+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+
#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>