Skip to content

[23.1.4] Build error in droplet #2411

@tuxmaster5000

Description

@tuxmaster5000

Bareos component version

23.1.4

Steps to reproduce

Simple build it

Expected results

Working build

Actual results

/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c: In function ‘reflect’:
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c:44:13: error: old-style function definition [-Werror=old-style-definition]
   44 | LOCAL ulong reflect(v, b)
      |             ^~~~~~~
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c: In function ‘widmask’:
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c:65:13: error: old-style function definition [-Werror=old-style-definition]
   65 | LOCAL ulong widmask(p_cm)
      |             ^~~~~~~
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c: In function ‘cm_ini’:
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c:75:6: error: old-style function definition [-Werror=old-style-definition]
   75 | void cm_ini(p_cm) p_cm_t p_cm;
      |      ^~~~~~
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c: In function ‘cm_nxt’:
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c:82:6: error: old-style function definition [-Werror=old-style-definition]
   82 | void cm_nxt(p_cm, ch) p_cm_t p_cm;
      |      ^~~~~~
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c: In function ‘cm_blk’:
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c:102:6: error: old-style function definition [-Werror=old-style-definition]
  102 | void cm_blk(p_cm, blk_adr, blk_len) p_cm_t p_cm;
      |      ^~~~~~
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c: In function ‘cm_crc’:
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c:111:7: error: old-style function definition [-Werror=old-style-definition]
  111 | ulong cm_crc(p_cm) p_cm_t p_cm;
      |       ^~~~~~
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c: In function ‘cm_tab’:
/builddir/build/BUILD/bareos-23.1.4-build/bareos-Release-23.1.4/core/src/droplet/libdroplet/src/backend/cdmi/crcmodel.c:121:7: error: old-style function definition [-Werror=old-style-definition]
  121 | ulong cm_tab(p_cm, index) p_cm_t p_cm;
      |       ^~~~~~

Environment

- OS: Fedora-42

Relevant log output

Relevant traces output

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis addresses a bugneeds triageSomebody needs to look at this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions