1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-08 19:09:19 +01:00
Files
u-boot-megous/include
Sergei Trofimovich c6ad93612a include/u-boot/crc.h: pull 'uint' definition on musl targets
The build failure was originally reported on arm64-musl
target at https://bugs.gentoo.org/703132. Here is the amd64-musl
variant:

```
$ LANG=C make CROSS_COMPILE=x86_64-gentoo-linux-musl- tools-only_defconfig -j$(nproc)
$ LANG=C make CROSS_COMPILE=x86_64-gentoo-linux-musl- tools-all            -j$(nproc)
...
include/u-boot/crc.h:37:44: error: unknown type name 'uint'; did you mean 'int'?
   37 | void crc16_ccitt_wd_buf(const uint8_t *in, uint len,
      |                                            ^~~~
      |                                            int
```

Note: 'uint' is not defined there.

On glibc 'uint' comes from <sys/types.h> and happens to work on most .c files.

The change imports 'uint' declaration from '<compiler.h>'.

Bug: https://bugs.gentoo.org/703132
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2020-01-03 09:47:10 -05:00
..
2017-07-03 17:35:28 -04:00
2019-12-06 16:44:20 -05:00
2019-10-16 05:42:27 +02:00
2019-09-04 11:37:19 -05:00
2019-11-14 07:09:34 -06:00
2019-11-17 17:22:53 +08:00
2019-07-24 13:16:29 -04:00
2018-11-14 09:16:27 -08:00
2018-09-29 11:49:35 -06:00
2019-11-02 18:00:51 +08:00
2019-09-20 20:09:19 +02:00
2019-07-19 11:11:09 +08:00
2019-04-23 20:26:43 -06:00
2019-12-09 09:47:43 -06:00
2019-10-13 23:34:43 +02:00
2019-10-06 16:02:37 +02:00
2019-04-22 12:06:39 -04:00
2018-09-23 21:55:30 +02:00
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2018-10-22 13:01:27 +02:00
2019-10-14 09:31:41 +02:00
2019-11-05 10:27:18 +01:00
2018-12-05 06:01:35 -07:00
2017-07-23 09:24:47 -04:00
2019-11-07 18:39:16 -05:00
2018-04-06 17:04:33 -04:00
2019-08-11 16:43:41 -04:00
2019-02-02 08:19:17 -05:00
2019-12-02 18:23:11 -05:00
2019-08-02 11:19:14 -04:00
2019-05-20 13:50:34 +02:00
2018-10-02 22:12:32 +05:30
2018-10-09 04:40:27 -06:00
2019-05-20 13:50:34 +02:00
2019-12-06 16:44:19 -05:00
2018-07-19 16:31:37 -04:00
2019-11-03 07:20:26 +08:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2018-09-28 18:26:32 +02:00
2019-12-02 18:23:09 -05:00
2019-07-19 20:14:50 +02:00