sessiond: notification: synchronize notification client (and list)
[lttng-tools.git] / src / bin / lttng-relayd / tcp_keep_alive.c
index 0cadbad74e6c4309eee2c2d1c0d54ed2c02ea1a1..81d0850245377ffdb90c762faefcdb572b0ee67b 100644 (file)
@@ -1,18 +1,8 @@
 /*
- * Copyright (C) 2017 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
+ * Copyright (C) 2017 Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License, version 2 only,
- * as published by the Free Software Foundation.
+ * SPDX-License-Identifier: GPL-2.0-only
  *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include <sys/types.h>
@@ -523,10 +513,10 @@ error:
 
 /* Initialize the TCP keep-alive configuration. */
 __attribute__((constructor)) static
-int tcp_keep_alive_init(void)
+void tcp_keep_alive_init(void)
 {
        tcp_keep_alive_init_support(&support);
-       return tcp_keep_alive_init_config(&support, &config);
+       (void) tcp_keep_alive_init_config(&support, &config);
 }
 
 /*
This page took 0.032875 seconds and 5 git commands to generate.