]> git.proxmox.com Git - mirror_frr.git/blobdiff - tests/lib/test_sig.c
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / tests / lib / test_sig.c
index 2aceafb8f0f940b6389f22fb0452c1f14ac6fad7..897e004b4009df5271cdf5fd6e55f77ca5ab8b28 100644 (file)
@@ -1,19 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
- * This file is part of Quagga.
- *
- * Quagga is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2, or (at your option) any
- * later version.
- *
- * Quagga 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; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <zebra.h>
@@ -36,18 +22,18 @@ static void sigusr2(void)
        printf("processed usr2\n");
 }
 
-struct quagga_signal_t sigs[] = {{
-                                        .signal = SIGHUP,
-                                        .handler = &sighup,
-                                },
-                                {
-                                        .signal = SIGUSR1,
-                                        .handler = &sigusr1,
-                                },
-                                {
-                                        .signal = SIGUSR2,
-                                        .handler = &sigusr2,
-                                }};
+struct frr_signal_t sigs[] = {{
+                                     .signal = SIGHUP,
+                                     .handler = &sighup,
+                             },
+                             {
+                                     .signal = SIGUSR1,
+                                     .handler = &sigusr1,
+                             },
+                             {
+                                     .signal = SIGUSR2,
+                                     .handler = &sigusr2,
+                             }};
 
 struct thread_master *master;
 struct thread t;