From 1a44cbda91c4d6c3a1d6327a2bec0440508f9708 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 21 Jul 2023 09:00:53 +0200 Subject: [PATCH] Silenced some harmless warnings of Fedora build process --- libisoburn/libisoburn.h | 6 +++--- xorriso/misc_funct.c | 2 +- xorriso/misc_funct.h | 2 +- xorriso/sfile.c | 2 +- xorriso/sfile.h | 2 +- xorriso/xorriso_timestamp.h | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libisoburn/libisoburn.h b/libisoburn/libisoburn.h index 9842dbd0..cc6b7d70 100644 --- a/libisoburn/libisoburn.h +++ b/libisoburn/libisoburn.h @@ -173,6 +173,8 @@ This can be achieved either: /* Important: If you add a public API function then add its name to file libisoburn/libisoburn.ver + in the node LIBISOBURN1_Major.Minor.Micro with the numbers of + the next release version. */ @@ -237,8 +239,6 @@ int isoburn_is_compatible(int major, int minor, int micro, int flag); So micro revisions {1,3,5,7,9} should never be used for dynamic linking unless the proper library match can be guaranteed by external circumstances. - - @return 1 success, <=0 might in future become an error indication */ void isoburn_version(int *major, int *minor, int *micro); @@ -2006,7 +2006,7 @@ int isoburn_igopt_set_part_type_guid(struct isoburn_imgen_opts *opts, The option set to be inquired. @param num_entries Number of array elements in part_flags[]. - @param type_guids + @param guids The array elements 0 to num_entries - 1 will get filled by the 16 flag bits of the images of the corresponding partition. @param valids diff --git a/xorriso/misc_funct.c b/xorriso/misc_funct.c index 5aa2ddf4..163a1185 100644 --- a/xorriso/misc_funct.c +++ b/xorriso/misc_funct.c @@ -679,7 +679,7 @@ completed:; 3= Mon Day hh:mm:ss Year 4= YYMMDD.hhmmss */ -char *Ftimetxt(time_t t, char timetext[40], int flag) +char *Ftimetxt(time_t t, char *timetext, int flag) { char *rpt; struct tm tms, *tmpt; diff --git a/xorriso/misc_funct.h b/xorriso/misc_funct.h index bb27772f..8a8cab75 100644 --- a/xorriso/misc_funct.h +++ b/xorriso/misc_funct.h @@ -34,7 +34,7 @@ char *Ftypetxt(mode_t st_mode, int flag); /* @param flag bit0=with year and seconds bit1=timestamp format YYYY.MM.DD.hhmmss */ -char *Ftimetxt(time_t t, char timetext[40], int flag); +char *Ftimetxt(time_t t, char *timetext, int flag); int System_uname(char **sysname, char **release, char **version, char **machine, int flag); diff --git a/xorriso/sfile.c b/xorriso/sfile.c index 2c7f91bb..ebfdd49d 100644 --- a/xorriso/sfile.c +++ b/xorriso/sfile.c @@ -833,7 +833,7 @@ int Sfile_make_argv(char *progname, char *line, int *argc, char ***argv, /* @param flag bit0= append */ -int Sfile_str(char target[SfileadrL], char *source, int flag) +int Sfile_str(char *target, char *source, int flag) { int l; diff --git a/xorriso/sfile.h b/xorriso/sfile.h index 80724222..4ca2ea49 100644 --- a/xorriso/sfile.h +++ b/xorriso/sfile.h @@ -33,7 +33,7 @@ #define SfileadrL 4096 -int Sfile_str(char target[SfileadrL], char *source, int flag); +int Sfile_str(char *target, char *source, int flag); double Sfile_microtime(int flag); diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index aa00208c..f77a3264 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2023.07.12.182812" +#define Xorriso_timestamP "2023.07.21.070020"