From: Matthew Fernandez Date: Sat, 5 Nov 2022 15:40:51 +0000 (-0700) Subject: prune: remove 'extern "C"' from generic list functions X-Git-Tag: 7.0.2~17^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d150190e4157a61402f2bf66ad709cf47e484b1;p=graphviz prune: remove 'extern "C"' from generic list functions This application is entirely C. There is no need to explicitly specify C linkage because it is the default. --- diff --git a/contrib/prune/generic_list.h b/contrib/prune/generic_list.h index e7fd2fa84..0e34afccb 100644 --- a/contrib/prune/generic_list.h +++ b/contrib/prune/generic_list.h @@ -8,11 +8,6 @@ * Contributors: Details at http://www.graphviz.org/ *************************************************************************/ -#ifdef __cplusplus -extern "C" { -#endif - - #ifndef GENERIC_LIST_H #define GENERIC_LIST_H @@ -30,7 +25,3 @@ extern "C" { extern void free_generic_list(generic_list_t * list); #endif /* GENERIC_LIST_H */ - -#ifdef __cplusplus -} -#endif