]> git.proxmox.com Git - mirror_frr.git/blobdiff - pceplib/pcep_utils_memory.c
Merge pull request #12248 from pguibert6WIND/bgpasdot
[mirror_frr.git] / pceplib / pcep_utils_memory.c
index c564705f661924a572e63433a63cb0fd241984aa..c3a2ab90cdfc32887952c5db694cf405efcbded5 100644 (file)
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
 /*
  * This file is part of the PCEPlib, a PCEP protocol library.
  *
  * Copyright (C) 2020 Volta Networks https://voltanet.io/
  *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program.  If not, see <https://www.gnu.org/licenses/>.
- *
  * Author : Brady Johnson <brady@voltanet.io>
  *
  */
@@ -75,7 +63,7 @@ bool pceplib_memory_initialize(void *pceplib_infra_mt,
        return true;
 }
 
-void pceplib_memory_reset()
+void pceplib_memory_reset(void)
 {
        pceplib_infra_mt.total_bytes_allocated = 0;
        pceplib_infra_mt.num_allocates = 0;
@@ -88,7 +76,7 @@ void pceplib_memory_reset()
        pceplib_messages_mt.num_frees = 0;
 }
 
-void pceplib_memory_dump()
+void pceplib_memory_dump(void)
 {
        if (PCEPLIB_INFRA) {
                pcep_log(