From: Lucas De Marchi Date: Mon, 28 Nov 2011 14:03:17 +0000 (-0200) Subject: Move down the ifdef for c++ X-Git-Tag: v1~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bd6299d2bbf583f4c782c9510cf61aaaca8d694;p=thirdparty%2Fkmod.git Move down the ifdef for c++ --- diff --git a/libkmod/libkmod.h b/libkmod/libkmod.h index 23ba079b..fd339782 100644 --- a/libkmod/libkmod.h +++ b/libkmod/libkmod.h @@ -62,10 +62,6 @@ struct kmod_list *kmod_list_next(struct kmod_list *first_entry, list_entry != NULL; \ list_entry = kmod_list_next(first_entry, list_entry)) -#ifdef __cplusplus -} /* extern "C" */ -#endif - /* * kmod_loaded * @@ -112,4 +108,7 @@ struct kmod_module *kmod_module_unref(struct kmod_module *mod); int kmod_module_remove_module(struct kmod_module *mod, unsigned int flags); int kmod_module_insert_module(struct kmod_module *mod, unsigned int flags); +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif