From 57a32361a09a5a3eea23162ebb3f5da8a56d7294 Mon Sep 17 00:00:00 2001 From: Ian Beckwith Date: Mon, 19 Apr 2010 17:32:51 +0100 Subject: [PATCH] test-forkpty: fix expected signature * tests/test-forkpty.c (SIGNATURE_CHECK): Add appropriate const. Reported by Simon Josefsson. Signed-off-by: Eric Blake (cherry picked from commit 56d363d4ccf9d50e9c2fcc5080e8e8d69bc9d5ca) --- ChangeLog | 6 ++++++ tests/test-forkpty.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5496513e6..bf8bd0bf1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-15 Eric Blake + + test-forkpty: fix expected signature + * tests/test-forkpty.c (SIGNATURE_CHECK): Add appropriate const. + Reported by Simon Josefsson. + 2010-04-14 Eric Blake strtok_r: relax license to LGPLv2+ diff --git a/tests/test-forkpty.c b/tests/test-forkpty.c index d87a10754..bbccb221e 100644 --- a/tests/test-forkpty.c +++ b/tests/test-forkpty.c @@ -21,8 +21,8 @@ #include #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 -- 2.11.0