coding style: fix lines over 80 chars
Lines should not go over 80 chars with a few exceptions:
- headers
- function definitions with only 1 argument
- long strings, otherwise we break grep
This should go later in a coding-style file
diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c
index 14c7a2c..3abdca9 100644
--- a/libkmod/libkmod.c
+++ b/libkmod/libkmod.c
@@ -196,7 +196,8 @@
*
* Returns: a new kmod library context
*/
-KMOD_EXPORT struct kmod_ctx *kmod_new(const char *dirname, const char * const *config_paths)
+KMOD_EXPORT struct kmod_ctx *kmod_new(const char *dirname,
+ const char * const *config_paths)
{
const char *env;
struct kmod_ctx *ctx;
@@ -545,7 +546,9 @@
* Returns: 0 on success or < 0 otherwise. @output is saved with the updated
* list.
*/
-KMOD_EXPORT int kmod_module_get_filtered_blacklist(const struct kmod_ctx *ctx, const struct kmod_list *input, struct kmod_list **output)
+KMOD_EXPORT int kmod_module_get_filtered_blacklist(const struct kmod_ctx *ctx,
+ const struct kmod_list *input,
+ struct kmod_list **output)
{
const struct kmod_config *config;
const struct kmod_list *li;
@@ -640,7 +643,9 @@
}
}
-KMOD_EXPORT int kmod_resolve_alias_options(struct kmod_ctx *ctx, const char *given_alias, char **options)
+KMOD_EXPORT int kmod_resolve_alias_options(struct kmod_ctx *ctx,
+ const char *given_alias,
+ char **options)
{
struct kmod_list *modules = NULL, *l;
char alias[NAME_MAX];