]> git.ipfire.org Git - thirdparty/lxc.git/commit
src/lxc/syscall_numbers.h: drop define -1 4416/head
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 30 Mar 2024 15:50:46 +0000 (16:50 +0100)
committerFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 30 Mar 2024 16:01:57 +0000 (17:01 +0100)
commit82fe01821cd5cb8548598d7d93b07d6ef3f6b604
tree33827b52ed10b29362058deb1f0fea55f102cf2e
parentd887f5ef2b332e264401c250e69053771f836087
src/lxc/syscall_numbers.h: drop define -1

Drop "#define -1" to avoid the following m68k build failure with gcc 12:

In file included from ../src/lxc/syscall_wrappers.h:19,
                 from ../src/lxc/mount_utils.h:15,
                 from ../src/lxc/conf.h:24,
                 from ../src/lxc/log.h:19,
                 from ../src/lxc/storage/btrfs.c:20:
../src/lxc/syscall_numbers.h:423:25: error: macro names must be identifiers
  423 |                 #define -1
      |                         ^

Fixes:
 - http://autobuild.buildroot.org/results/f40a517eba86838b11b4b1d6a8a05b8233a3394d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
src/lxc/syscall_numbers.h