mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
syntax-check: Remove empty lines at the end of file
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
27a45e2edb
commit
6a3959c895
1
.gitignore
vendored
1
.gitignore
vendored
@ -73,4 +73,3 @@ test*.test
|
||||
*.tar.xz
|
||||
*.src.rpm
|
||||
packaging/*.spec
|
||||
|
||||
|
@ -55,4 +55,3 @@ EXTRA_DIST += src/boot/dracut/module-setup.sh \
|
||||
src/boot/ostree-prepare-root.service \
|
||||
src/boot/ostree-remount.service \
|
||||
$(NULL)
|
||||
|
||||
|
3
cfg.mk
3
cfg.mk
@ -20,7 +20,6 @@ local-checks-to-skip = \
|
||||
\
|
||||
sc_program_name \
|
||||
sc_bindtextdomain \
|
||||
sc_prohibit_empty_lines_at_EOF \
|
||||
sc_prohibit_path_max_allocation \
|
||||
sc_trailing_blank \
|
||||
|
||||
@ -28,4 +27,4 @@ local-checks-to-skip = \
|
||||
show-vc-list-except:
|
||||
@$(VC_LIST_EXCEPT)
|
||||
|
||||
VC_LIST_ALWAYS_EXCLUDE_REGEX = ^ABOUT-NLS|maint.mk$$
|
||||
VC_LIST_ALWAYS_EXCLUDE_REGEX = ^ABOUT-NLS|maint.mk|*.gpg$$
|
||||
|
@ -388,4 +388,3 @@ OSTREE_TYPE_SYSROOT_UPGRADER
|
||||
ostree_sysroot_upgrader_get_type
|
||||
ostree_sysroot_upgrader_flags_get_type
|
||||
</SECTION>
|
||||
|
||||
|
@ -38,4 +38,3 @@ install() {
|
||||
ln_r "${systemdsystemunitdir}/ostree-prepare-root.service" \
|
||||
"${systemdsystemconfdir}/initrd-switch-root.target.wants/ostree-prepare-root.service"
|
||||
}
|
||||
|
||||
|
@ -156,4 +156,3 @@ $ ostree --repo=/path/to/repo gendelta --from=gnome-ostree/3.10/x86_64-runtime -
|
||||
|
||||
This is an obvious one - generate a delta from the last stable release
|
||||
to the current development head.
|
||||
|
||||
|
@ -67,4 +67,3 @@ void ostree_async_progress_set_uint64 (OstreeAsyncProgress *self,
|
||||
void ostree_async_progress_finish (OstreeAsyncProgress *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -55,4 +55,3 @@ const char *ostree_bootconfig_parser_get (OstreeBootconfigParser *self,
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -37,4 +37,3 @@ OstreeBootloaderGrub2 * _ostree_bootloader_grub2_new (OstreeSysroot *sysroot);
|
||||
gboolean _ostree_bootloader_grub2_generate_config (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -35,4 +35,3 @@ GType _ostree_bootloader_syslinux_get_type (void) G_GNUC_CONST;
|
||||
OstreeBootloaderSyslinux * _ostree_bootloader_syslinux_new (OstreeSysroot *sysroot);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -66,4 +66,3 @@ gboolean _ostree_bootloader_write_config (OstreeBootloader *self,
|
||||
gboolean _ostree_bootloader_is_atomic (OstreeBootloader *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -63,4 +63,3 @@ OstreeChecksumInputStream * ostree_checksum_input_stream_new (GInputStr
|
||||
GChecksum *checksum);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -47,4 +47,3 @@ ostree_cmd__private__ (void)
|
||||
|
||||
return &table;
|
||||
}
|
||||
|
||||
|
@ -32,4 +32,3 @@ const OstreeCmdPrivateVTable *
|
||||
ostree_cmd__private__ (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -125,4 +125,3 @@ _ostree_detached_metadata_append_gpg_sig (GVariant *existing_metadata,
|
||||
GBytes *signature_bytes);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -1854,4 +1854,3 @@ _ostree_detached_metadata_append_gpg_sig (GVariant *existing_metadata,
|
||||
|
||||
return g_variant_ref_sink (g_variant_builder_end (builder));
|
||||
}
|
||||
|
||||
|
@ -60,4 +60,3 @@ OstreeDeployment *ostree_deployment_clone (OstreeDeployment *self);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -68,4 +68,3 @@ void ostree_diff_print (GFile *a,
|
||||
GPtrArray *added);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -55,4 +55,3 @@ char ** _ostree_kernel_args_to_strv (OstreeKernelArgs *kargs);
|
||||
char * _ostree_kernel_args_to_string (OstreeKernelArgs *kargs);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -184,4 +184,3 @@ ostree_libarchive_input_stream_close (GInputStream *stream,
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
@ -63,4 +63,3 @@ GType _ostree_libarchive_input_stream_get_type (void) G_GNUC_CONST;
|
||||
GInputStream * _ostree_libarchive_input_stream_new (struct archive *a);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -134,4 +134,3 @@ _ostree_linuxfs_alter_immutable_flag (GFile *path,
|
||||
(void) close (fd);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -37,4 +37,3 @@ _ostree_linuxfs_alter_immutable_flag (GFile *path,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -68,4 +68,3 @@ _ostree_lzma_return (lzma_ret res,
|
||||
return G_CONVERTER_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -92,4 +92,3 @@ GHashTable * ostree_mutable_tree_get_subdirs (OstreeMutableTree *self);
|
||||
GHashTable * ostree_mutable_tree_get_files (OstreeMutableTree *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -52,4 +52,3 @@ GFileEnumerator * _ostree_repo_file_enumerator_new (OstreeRepoFile *d
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -81,4 +81,3 @@ gboolean ostree_repo_file_tree_query_child (OstreeRepoFile *self,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -194,4 +194,3 @@ _ostree_repo_gpg_verify_file_with_metadata (OstreeRepo *self,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -322,4 +322,3 @@ ostree_repo_static_delta_execute_offline (OstreeRepo *self,
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -149,4 +149,3 @@ _ostree_repo_static_delta_part_have_all_objects (OstreeRepo *repo,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -3429,4 +3429,3 @@ ostree_repo_regenerate_summary (OstreeRepo *self,
|
||||
g_list_free (ordered_keys);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -630,4 +630,3 @@ gboolean ostree_repo_regenerate_summary (OstreeRepo *self,
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -72,4 +72,3 @@ void ostree_sepolicy_fscreatecon_cleanup (void **unused);
|
||||
#define ostree_cleanup_sepolicy_fscreatecon __attribute__ ((cleanup(ostree_sepolicy_fscreatecon_cleanup)))
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -2015,4 +2015,3 @@ ostree_sysroot_deployment_set_kargs (OstreeSysroot *self,
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -83,4 +83,3 @@ gboolean _ostree_sysroot_query_bootloader (OstreeSysroot *sysroot,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -99,4 +99,3 @@ gboolean ostree_sysroot_upgrader_deploy (OstreeSysrootUpgrader *self,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -1129,4 +1129,3 @@ ostree_sysroot_simple_write_deployment (OstreeSysroot *sysroot,
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -114,4 +114,3 @@ gboolean ostree_sysroot_simple_write_deployment (OstreeSysroot *sysroot,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -34,4 +34,3 @@ typedef struct OstreeMutableTree OstreeMutableTree;
|
||||
typedef struct OstreeRepoFile OstreeRepoFile;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -183,4 +183,3 @@ _ostree_write_varuint64 (GString *buf, guint64 n)
|
||||
for (i = 0; i < size; i++)
|
||||
g_string_append_c (buf, target[i]);
|
||||
}
|
||||
|
||||
|
@ -32,4 +32,3 @@ gboolean _ostree_read_varuint64 (const guint8 *buf,
|
||||
void _ostree_write_varuint64 (GString *buf, guint64 n);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -207,4 +207,3 @@ ot_gio_checksum_stream_finish (GInputStream *in,
|
||||
g_warn_if_fail (g_simple_async_result_get_source_tag (simple) == ot_gio_checksum_stream_async);
|
||||
return g_memdup (g_simple_async_result_get_op_res_gpointer (simple), 32);
|
||||
}
|
||||
|
||||
|
@ -58,4 +58,3 @@ gboolean ot_openat_read_stream (int dfd,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -92,4 +92,3 @@ gboolean ot_util_fsync_directory (GFile *dir,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -49,4 +49,3 @@ ot_keyfile_copy_group (GKeyFile *source_keyfile,
|
||||
const char *group_name);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -29,4 +29,3 @@ G_BEGIN_DECLS
|
||||
void ot_util_usage_error (GOptionContext *context, const char *message, GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -31,4 +31,3 @@ GThreadPool * ot_thread_pool_new_nproc (GFunc func,
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -45,4 +45,3 @@ gboolean ot_util_filename_validate (const char *name, GError **error);
|
||||
gboolean ot_util_path_split_validate (const char *path, GPtrArray **out_components, GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -78,4 +78,3 @@ ot_variant_bsearch_str (GVariant *array,
|
||||
int *out_pos);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -42,4 +42,3 @@ void ot_waitable_queue_ref (OtWaitableQueue *queue);
|
||||
void ot_waitable_queue_unref (OtWaitableQueue *queue);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -41,4 +41,3 @@ gboolean ot_admin_builtin_switch (int argc, char **argv, GCancellable *cancellab
|
||||
gboolean ot_admin_builtin_upgrade (int argc, char **argv, GCancellable *cancellable, GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -97,4 +97,3 @@ ot_admin_get_indexed_deployment (OstreeSysroot *sysroot,
|
||||
|
||||
return g_object_ref (current_deployments->pdata[index]);
|
||||
}
|
||||
|
||||
|
@ -43,4 +43,3 @@ ot_admin_get_indexed_deployment (OstreeSysroot *sysroot,
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -29,4 +29,3 @@ gboolean ot_admin_instutil_builtin_set_kargs (int argc, char **argv, GCancellabl
|
||||
gboolean ot_admin_instutil_builtin_grub2_generate (int argc, char **argv, GCancellable *cancellable, GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -378,4 +378,3 @@ ostree_builtin_remote (int argc, char **argv, GCancellable *cancellable, GError
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -55,4 +55,3 @@ BUILTINPROTO(trivial_httpd);
|
||||
#undef BUILTINPROTO
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -358,4 +358,3 @@ ostree_admin_option_context_parse (GOptionContext *context,
|
||||
out:
|
||||
return success;
|
||||
}
|
||||
|
||||
|
@ -37,4 +37,3 @@ ot_parse_keyvalue (const char *keyvalue,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -22,4 +22,3 @@
|
||||
#pragma once
|
||||
|
||||
int perrorv (const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
|
@ -218,4 +218,3 @@ main(int argc, char *argv[])
|
||||
|
||||
exit (EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
@ -119,4 +119,3 @@ main(int argc, char *argv[])
|
||||
|
||||
exit (EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
@ -117,4 +117,3 @@ cd ${test_tmpdir}
|
||||
echo bacon > metalink-data/metalink.xml
|
||||
test_metalink_pull_error "Document must begin with an element"
|
||||
echo "ok metalink err malformed"
|
||||
|
||||
|
@ -92,4 +92,3 @@ assert_not_file_has_content list.txt "origin"
|
||||
# Can't grep for 'another' because of 'another-noexist'
|
||||
assert_file_has_content list.txt "another-noexist"
|
||||
echo "ok remote list remaining"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user