summaryrefslogtreecommitdiff
path: root/sys-firmware/atmel-firmware/files/atmel-firmware-1.3-clang-16-build.patch
blob: dca3dd03be43748ecb511bc7e136483f509d2d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix build with clang 16
Bug: https://bugs.gentoo.org/887113
--- a/atmel_fwl.c
+++ b/atmel_fwl.c
@@ -37,7 +37,7 @@ struct atmel_priv_ioctl {
 	unsigned short len;    
 };
 
-main(int argc, char **argv)
+int main(int argc, char **argv)
 {
 	int i, magic, rc, sock = -1;
 	struct ifreq ifr;