[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [PATCH 3/4] Keep the pattern in the function's name



On Sun, May 06, 2012 at 09:33:23PM -0300, Fabiano Fidêncio wrote:
>     Rename a function's name to accord with the rest of API
> ---
>  osinfo/libosinfo.syms         |    2 +-
>  osinfo/osinfo_os.c            |    2 +-
>  osinfo/osinfo_os.h            |    2 +-
>  tools/osinfo-install-script.c |    2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/osinfo/libosinfo.syms b/osinfo/libosinfo.syms
> index e9cc655..8b8259b 100644
> --- a/osinfo/libosinfo.syms
> +++ b/osinfo/libosinfo.syms
> @@ -284,7 +284,7 @@ LIBOSINFO_0.1.0 {
>  	osinfo_db_add_install_script;
>  	osinfo_db_get_install_script_list;
>  	osinfo_os_get_install_script;
> -	osinfo_os_get_install_scripts;
> +	osinfo_os_get_install_script_list;
>  	osinfo_os_add_install_script;
>  } LIBOSINFO_0.0.6;
>  
> diff --git a/osinfo/osinfo_os.c b/osinfo/osinfo_os.c
> index 66f6f14..04f0ca5 100644
> --- a/osinfo/osinfo_os.c
> +++ b/osinfo/osinfo_os.c
> @@ -551,7 +551,7 @@ OsinfoInstallScript *osinfo_os_find_install_script(OsinfoOs *os, const gchar *pr
>  }
>  
>  
> -OsinfoInstallScriptList *osinfo_os_get_install_scripts(OsinfoOs *os)
> +OsinfoInstallScriptList *osinfo_os_get_install_script_list(OsinfoOs *os)
>  {
>      g_return_val_if_fail(OSINFO_IS_OS(os), NULL);
>  
> diff --git a/osinfo/osinfo_os.h b/osinfo/osinfo_os.h
> index 9015437..2514e98 100644
> --- a/osinfo/osinfo_os.h
> +++ b/osinfo/osinfo_os.h
> @@ -103,7 +103,7 @@ void osinfo_os_add_recommended_resources(OsinfoOs *os, OsinfoResources *resource
>  
>  OsinfoInstallScript *osinfo_os_get_install_script(OsinfoOs *os, const gchar *id);
>  OsinfoInstallScript *osinfo_os_find_install_script(OsinfoOs *os, const gchar *profile);
> -OsinfoInstallScriptList *osinfo_os_get_install_scripts(OsinfoOs *os);
> +OsinfoInstallScriptList *osinfo_os_get_install_script_list(OsinfoOs *os);
>  void osinfo_os_add_install_script(OsinfoOs *os, OsinfoInstallScript *script);
>  
>  #endif /* __OSINFO_OS_H__ */
> diff --git a/tools/osinfo-install-script.c b/tools/osinfo-install-script.c
> index f3166db..cedce10 100644
> --- a/tools/osinfo-install-script.c
> +++ b/tools/osinfo-install-script.c
> @@ -102,7 +102,7 @@ static OsinfoOs *find_os(OsinfoDb *db,
>  
>  static gboolean generate_script(OsinfoOs *os)
>  {
> -    OsinfoInstallScriptList *scripts = osinfo_os_get_install_scripts(os);
> +    OsinfoInstallScriptList *scripts = osinfo_os_get_install_script_list(os);
>      OsinfoInstallScriptList *jeosScripts;
>      OsinfoFilter *filter;
>      OsinfoInstallScript *script;

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]