]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
doc: fix order of param descriptions
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 9 Jan 2012 05:09:49 +0000 (03:09 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Mon, 9 Jan 2012 05:30:10 +0000 (03:30 -0200)
libkmod/libkmod.c

index 1e8b6ca912efb00895ec8ef08807601ff6cc1932..b67477181b96aa511767cf4686a78cfaaa504336 100644 (file)
@@ -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,