From 6f83737a9b9deaacd5ce0799cbda9e18fdb81c4b Mon Sep 17 00:00:00 2001 From: JINMEI Tatuya Date: Wed, 6 Feb 2013 18:10:05 +0000 Subject: [PATCH] [master] added redundant 'const' in a function declaration to help SunStudio. It insists signature match between declarations and definitions even with such unnecessary qualifiers, and fails to link due to a false-positive "undefined symbol" at the link time. --- src/lib/util/unittests/fork.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/util/unittests/fork.h b/src/lib/util/unittests/fork.h index d5623a758a..6b9e7491c8 100644 --- a/src/lib/util/unittests/fork.h +++ b/src/lib/util/unittests/fork.h @@ -40,10 +40,10 @@ bool process_ok(pid_t process); pid_t -provide_input(int *read_pipe, const void *input, const size_t length); +provide_input(int* read_pipe, const void* input, const size_t length); pid_t -check_output(int *write_pipe, const void *output, const size_t length); +check_output(int* write_pipe, const void* const output, const size_t length); } // End of the namespace }