[Git][cmucl/cmucl][master] Fix a couple of compiler warnings for functions with no args
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/95429eb4e3bb9bf86495cd38... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/95429eb4e3bb9bf86495cd38... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)