Browse Source

[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.
JINMEI Tatuya 12 years ago
parent
commit
6f83737a9b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/util/unittests/fork.h

+ 2 - 2
src/lib/util/unittests/fork.h

@@ -40,10 +40,10 @@ bool
 process_ok(pid_t process);
 process_ok(pid_t process);
 
 
 pid_t
 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
 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
 } // End of the namespace
 }
 }