Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I24bbe1bbfa0608c1952ab1c86743320e77ea7c3c
int lttng_opt_mi;
int lttng_opt_quiet;
+namespace {
#ifdef __linux__
/*
* Return the default pipe buffer size or a negative error.
*/
-static
int get_pipe_size(void)
{
int ret;
return ret;
}
#elif defined(__FreeBSD__)
-static
int get_pipe_size(void)
{
return 65536;
#else
#error "Implement get_pipe_size() for your platform."
#endif
+} /* namespace */
int main(void)
{
return EXIT_FAILURE;
}
- /* Print the pipe buffer size to stdout */
+ /* Print the pipe buffer size to stdout. */
printf("%d\n", ret);
- return EXIT_SUCCESS;
+ return EXIT_SUCCESS;
}