changeset 13234:4bca2ccf46d1

test-forkpty: fix expected signature * tests/test-forkpty.c (SIGNATURE_CHECK): Add appropriate const. Reported by Simon Josefsson. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Thu, 15 Apr 2010 07:54:02 -0600
parents 2376509f2722
children a068c8f101e6
files ChangeLog tests/test-forkpty.c
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/tests/test-forkpty.c
+++ b/tests/test-forkpty.c
@@ -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>