[Git][cmucl/cmucl][master] Fix a couple of compiler warnings for functions with no args
Raymond Toy (@rtoy)
gitlab at common-lisp.net
Tue May 16 23:57:51 UTC 2023
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
95429eb4 by Raymond Toy at 2023-05-16T16:55:54-07:00
Fix a couple of compiler warnings for functions with no args
The warning is:
> warning: a function declaration without a prototype is deprecated in
> all versions of C [-Wstrict-prototypes]
So update the two places this occurs and add `void`.
- - - - -
2 changed files:
- src/lisp/Linux-os.c
- src/lisp/validate.c
Changes:
=====================================
src/lisp/Linux-os.c
=====================================
@@ -568,7 +568,7 @@ restore_fpu(ucontext_t *context)
#ifdef i386
boolean
-os_support_sse2()
+os_support_sse2(void)
{
return TRUE;
}
=====================================
src/lisp/validate.c
=====================================
@@ -112,7 +112,7 @@ validate(void)
}
void
-validate_stacks()
+validate_stacks(void)
{
/* Control Stack */
#ifdef CONTROL_STACK_START
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/95429eb4e3bb9bf86495cd3833c3a505d796ef55
--
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/95429eb4e3bb9bf86495cd3833c3a505d796ef55
You're receiving this email because of your account on gitlab.common-lisp.net.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20230516/80c346d6/attachment.html>
More information about the cmucl-cvs
mailing list