buildroot/package/dhrystone
Steffen Persvold 38b8112733 package/dhrystone: fix build with GCC 14.x
GCC14 will give errors for missing function declarations and
missing return types :

dhry_1.c:75:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   75 | main(int argc, char *argv[])
      | ^~~~
dhry_1.c: In function ‘main’:
dhry_1.c:159:5: error: implicit declaration of function ‘Proc_5’ [-Wimplicit-function-declaration]
  159 |     Proc_5();
      |     ^~~~~~

Fixes:

  http://autobuild.buildroot.net/results/8e65ba30efd5a6bca197f24ced2db1f8226b2c51/

Signed-off-by: Steffen Persvold <spersvold@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 3847a145c2)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-08-20 22:05:15 +02:00
..
0001-let-people-specify-the-number-of-runs-on-the-command.patch
0002-Get-HZ-value-from-system-rather-than-requiring-via-C.patch
0003-trust-the-exit-status-of-the-program.patch
0004-get-prototypes-for-malloc-exit-strcpy.patch
0005-Avoid-collision-with-C-library-using-NO_PROTOTYPES.patch
0006-Add-missing-function-declarations.patch
Config.in
dhrystone.hash
dhrystone.mk
Makefile