summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2024-05-28 19:13:14 -0700
committerKhem Raj <raj.khem@gmail.com>2024-05-30 08:42:01 -0700
commit9813fb56d22acad36d70158335b8ee9f4a05ad89 (patch)
tree59c0ad26ecbf82e315504fb1e5a3a8e2a79222d4 /meta-oe
parentab916d7311782b0d12706fba94d24b4d7ca00307 (diff)
downloadmeta-openembedded-9813fb56d22acad36d70158335b8ee9f4a05ad89.tar.gz
ckermit: Define return type for main
Newer compilers e.g. clang19+ will treat implicit function prototypes as errors, therefore define main() with a valid return type Fixes ckwart.c:531:1: error: return type defaults to ‘int’ [-Wimplicit-int] 531 | main(argc,argv) int argc; char **argv; { | ^~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/ckermit/ckermit_302.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/ckermit/ckermit_302.bb b/meta-oe/recipes-support/ckermit/ckermit_302.bb
index 53f2b9d2c5..1ee776cefe 100644
--- a/meta-oe/recipes-support/ckermit/ckermit_302.bb
+++ b/meta-oe/recipes-support/ckermit/ckermit_302.bb
@@ -45,7 +45,7 @@ do_compile () {
45 -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \ 45 -DNORESEND -DNOAUTODL -DNOSTREAMING -DNOHINTS -DNOCKXYZ -DNOLEARN \
46 -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \ 46 -DNOMKDIR -DNOPERMS -DNOCKTIMERS -DNOCKREGEX -DNOREALPATH \
47 -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \ 47 -DCK_SMALL -DNOLOGDIAL -DNORENAME -DNOWHATAMI \
48 -DNOARROWKEYS" 48 -DNOARROWKEYS -DMAINTYPE=int"
49} 49}
50 50
51do_install () { 51do_install () {