Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r2490 - branches/fsvs-1.2.x/fsvs/src

fsvs
Discussion topic

Back to topic list

svn commit: r2490 - branches/fsvs-1.2.x/fsvs/src

Author pmarek
Full name P.Marek
Date 2018-06-05 08:12:14 PDT
Message Author: pmarek
Date: 2018-06-04 10:55:58-0700
New Revision: 2490

Modified:
   branches/fsvs-1.2.x/​fsvs/src/cache.c
   branches/fsvs-1.2.x/​fsvs/src/checksum.c
   branches/fsvs-1.2.x/​fsvs/src/cp_mv.c
   branches/fsvs-1.2.x/​fsvs/src/direnum.c
   branches/fsvs-1.2.x/​fsvs/src/est_ops.c
   branches/fsvs-1.2.x/​fsvs/src/helper.c
   branches/fsvs-1.2.x/​fsvs/src/ignore.c
   branches/fsvs-1.2.x/​fsvs/src/options.c
   branches/fsvs-1.2.x/​fsvs/src/status.c

Log:
The "inline" attribute isn't what it used to be.

See also
    https://gcc.gnu.org/​bugzilla/show_bug.cg​i?id=81734




Modified: branches/fsvs-1.2.x/​fsvs/src/cache.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/cache.c?v​iew=diff&pathrev​=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/cache.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/cache.c 2018-06-04 10:55:58-0700
@@ -97,7 +97,7 @@
 
 /** -.
  * Can return \c ENOENT if not found. */
-inline int cch__find(struct cache_t *cache, cache_value_t id,
+int cch__find(struct cache_t *cache, cache_value_t id,
         int *index, char **data, int *len)
 {
     int i;
@@ -210,7 +210,7 @@
  * Copies the significant bits ' ' .. 'Z' (or, really, \\x20 .. \\x60) of
  * at most 6 bytes of \a stg into a packed bitfield, so that 30bits are
  * used. */
-inline cache_value_t cch___string_to_cv(const char *stg)
+cache_value_t cch___string_to_cv(const char *stg)
 {
   union {
       cache_value_t cv;

Modified: branches/fsvs-1.2.x/​fsvs/src/checksum.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/checksum.​c?view=diff&path​rev=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/checksum.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/checksum.c 2018-06-04 10:55:58-0700
@@ -116,7 +116,7 @@
 /** Hex-character to ascii.
  * Faster than sscanf().
  * Returns -1 on error. */
-inline static int cs__hex2val(char ch)
+static int cs__hex2val(char ch)
 {
     /* I thought a bit whether I should store the values+1, ie. keep most of
      * the array as 0 - but that doesn't save any memory, it only takes more

Modified: branches/fsvs-1.2.x/​fsvs/src/cp_mv.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/cp_mv.c?v​iew=diff&pathrev​=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/cp_mv.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/cp_mv.c 2018-06-04 10:55:58-0700
@@ -1089,7 +1089,7 @@
  * If that isn't possible (because \a path is not below \c wc_path),
  * \c EINVAL is returned.
  * The case \c path==wc_path is not allowed, either. */
-inline int cm___not_below_wcpath(char *path, char **out)
+int cm___not_below_wcpath(char *path, char **out)
 {
     if (strncmp(path, wc_path, wc_path_len) != 0 ||
             path[wc_path_len] != PATH_SEPARATOR)

Modified: branches/fsvs-1.2.x/​fsvs/src/direnum.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/direnum.c​?view=diff&pathr​ev=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/direnum.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/direnum.c 2018-06-04 10:55:58-0700
@@ -80,7 +80,7 @@
 /** Starts enumeration of the given \a path. The directory handle is returned
  * in \a *dirp.
  * \return 0 for success, or an error code. */
-inline int dir__start_enum(dir__handle *dh, char *path)
+int dir__start_enum(dir__handle *dh, char *path)
 {
     int status;
 
@@ -100,7 +100,7 @@
  * \param count The maximum number of bytes in \a dirp.
  *
  * \return The number of bytes used in \a dirp. */
-inline int dir__enum(dir__handle dh, fsvs_dirent *dirp, unsigned int count)
+int dir__enum(dir__handle dh, fsvs_dirent *dirp, unsigned int count)
 {
     return syscall(__NR_getdents64, dh, dirp, count);
 }
@@ -108,7 +108,7 @@
 
 /** Simply closes the handle \a dh.
  * */
-inline int dir__close(dir__handle dh)
+int dir__close(dir__handle dh)
 {
     int status;
 
@@ -123,7 +123,7 @@
 
 /** How to get the length of a directory (in bytes), from a handle \a dh,
  * into \a st->size. */
-inline int dir__get_dir_size(dir__handle dh, struct sstat_t *st)
+int dir__get_dir_size(dir__handle dh, struct sstat_t *st)
 {
     int status;
 
@@ -151,7 +151,7 @@
 typedef DIR* dir__handle;
 
 
-inline int dir__start_enum(dir__handle *dh, char *path)
+int dir__start_enum(dir__handle *dh, char *path)
 {
     int status;
 
@@ -164,7 +164,7 @@
 
 
 /* Impedance matching .. don't like it. */
-inline int dir__enum(dir__handle dh, fsvs_dirent *dirp, unsigned int count)
+int dir__enum(dir__handle dh, fsvs_dirent *dirp, unsigned int count)
 {
     struct dirent *de;
 
@@ -181,7 +181,7 @@
 }
 
 
-inline int dir__close(dir__handle dh)
+int dir__close(dir__handle dh)
 {
     int status;
 
@@ -193,7 +193,7 @@
 }
 
 
-inline int dir__get_dir_size(dir__handle dh, struct sstat_t *st)
+int dir__get_dir_size(dir__handle dh, struct sstat_t *st)
 {
     int status;
 
@@ -259,7 +259,7 @@
  * Used for type checking cleanliness.
  * 'C' as for 'Const'.
  * \return +2, +1, 0, -1, -2, suitable for \a qsort(). */
-inline int dir___f_sort_by_nameCC(const void *a, const void *b)
+int dir___f_sort_by_nameCC(const void *a, const void *b)
 {
     return strcoll(a,b);
 }

Modified: branches/fsvs-1.2.x/​fsvs/src/est_ops.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/est_ops.c​?view=diff&pathr​ev=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/est_ops.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/est_ops.c 2018-06-04 10:55:58-0700
@@ -1422,7 +1422,7 @@
 /** Set the estat::do_* bits, depending on the parent.
  * Should not be called for the root.
  * */
-inline void ops___set_todo_bits(struct estat *sts)
+void ops___set_todo_bits(struct estat *sts)
 {
     /* For recursive operation: If we should do the parent completely, we do
      * the sub-entries, too. */

Modified: branches/fsvs-1.2.x/​fsvs/src/helper.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/helper.c?​view=diff&pathre​v=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/helper.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/helper.c 2018-06-04 10:55:58-0700
@@ -1476,7 +1476,7 @@
  * If \a value_len is not \c NULL, it get set to the length of the path in
  * the environment variable.
  * */
-inline int hlp___is_valid_env(char *env,
+int hlp___is_valid_env(char *env,
         char *path2cmp, int p2c_len,
         char **value, int *value_len)
 {

Modified: branches/fsvs-1.2.x/​fsvs/src/ignore.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/ignore.c?​view=diff&pathre​v=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/ignore.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/ignore.c 2018-06-04 10:55:58-0700
@@ -1394,7 +1394,7 @@
  * \a ign.
  * Does the less-than, greater-than and/or equal comparision.
  * */
-inline int ign___compare_dev(struct sstat_t *st, struct ignore_t *ign)
+int ign___compare_dev(struct sstat_t *st, struct ignore_t *ign)
 {
 #ifdef DEVICE_NODES_DISABLED
     DEVICE_NODES_DISABLED();

Modified: branches/fsvs-1.2.x/​fsvs/src/options.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/options.c​?view=diff&pathr​ev=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/options.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/options.c 2018-06-04 10:55:58-0700
@@ -381,7 +381,7 @@
 
 
 /** Find an integer value by comparing with predefined strings. */
-inline int opt___find_string(const struct opt___val_str_t *list,
+int opt___find_string(const struct opt___val_str_t *list,
         const char *string,
         int *result)
 {

Modified: branches/fsvs-1.2.x/​fsvs/src/status.c
Url: http://fsvs.tigris.o​rg/source/browse/fsv​s/branches/fsvs-1.2.​x/fsvs/src/status.c?​view=diff&pathre​v=2490&r1=2489​&r2=2490
====================​====================​====================​==================
--- branches/fsvs-1.2.x/​fsvs/src/status.c (original)
+++ branches/fsvs-1.2.x/​fsvs/src/status.c 2018-06-04 10:55:58-0700
@@ -654,7 +654,7 @@
 }
 
 
-inline volatile char* st__flags_string_fromint(int mask)
+volatile char* st__flags_string_fromint(int mask)
 {
     const struct st___bit_info flags[]={
         BIT_INFO( RF_ADD, "add"),

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r2490 - branches/fsvs-1.2.x/fsvs/src pmarek P.Marek 2018-06-05 08:12:14 PDT
Messages per page: