diff options
Diffstat (limited to 'include/netlink/cli/class.h')
-rw-r--r-- | include/netlink/cli/class.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/include/netlink/cli/class.h b/include/netlink/cli/class.h index 5001e428..95523740 100644 --- a/include/netlink/cli/class.h +++ b/include/netlink/cli/class.h @@ -1,11 +1,5 @@ +/* SPDX-License-Identifier: LGPL-2.1-only */ /* - * netlink/cli/class.h CLI Class Helpers - * - * 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 version 2.1 - * of the License. - * * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> */ @@ -15,7 +9,15 @@ #include <netlink/route/class.h> #include <netlink/cli/tc.h> +#ifdef __cplusplus +extern "C" { +#endif + extern struct rtnl_class *nl_cli_class_alloc(void); extern struct nl_cache *nl_cli_class_alloc_cache(struct nl_sock *, int); +#ifdef __cplusplus +} +#endif + #endif |