From: Lucas De Marchi Date: Mon, 9 Jan 2012 05:09:49 +0000 (-0200) Subject: doc: fix order of param descriptions X-Git-Tag: v4~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1daa4f54b0e829d4e83857498dbec16e53d8f55;p=thirdparty%2Fkmod.git doc: fix order of param descriptions --- diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index 1e8b6ca9..b6747718 100644 --- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c @@ -182,13 +182,6 @@ static char *get_kernel_release(const char *dirname) /** * kmod_new: - * - * Create kmod library context. This reads the kmod configuration - * and fills in the default values. - * - * The initial refcount is 1, and needs to be decremented to - * release the resources of the kmod library context. - * * @dirname: what to consider as linux module's directory, if NULL * defaults to $rootprefix/lib/modules/`uname -r`. * @config_paths: ordered array of paths (directories or files) where @@ -198,6 +191,12 @@ static char *get_kernel_release(const char *dirname) * $rootprefix/lib/modprobe.d. Give an empty vector if configuration should * not be read. This array must be null terminated. * + * Create kmod library context. This reads the kmod configuration + * and fills in the default values. + * + * The initial refcount is 1, and needs to be decremented to + * release the resources of the kmod library context. + * * Returns: a new kmod library context */ KMOD_EXPORT struct kmod_ctx *kmod_new(const char *dirname,