commit f9756af54f66e33cd5a7beb324254f05470fc9a3 from: Omar Polo date: Thu Jul 21 13:47:51 2022 UTC fix sndio detection the compiler may complain that there's no return: tests.c: In function 'main': tests.c:954: warning: control reaches end of non-void function spotted by the OpenBSD bulk builds on sparc64 (using gcc 4.2) commit - 9e5765b739e853e7c6bf10d9e24f4641d033d660 commit + f9756af54f66e33cd5a7beb324254f05470fc9a3 blob - 5d8036db5374b2850ed18459fcb3be48ec5673fa blob + fb75999b977009afe407604d9871ccf68cdd821f --- tests.c +++ tests.c @@ -526,6 +526,7 @@ main(void) hdl = sio_open(SIO_DEVANY, SIO_PLAY, 1); sio_flush(hdl); sio_close(hdl); + return 0; } #endif /* TEST_SIO_FLUSH */ #if TEST_SCAN_SCALED @@ -950,5 +951,6 @@ main(void) struct sio_hdl *hdl; hdl = sio_open(SIO_DEVANY, SIO_PLAY, 1); sio_close(hdl); + return 0; } #endif /* TEST_LIB_SNDIO */