[Git][cmucl/cmucl][master] 2 commits: Fix #107: Use uint8_t instead of u_int8_t.

Raymond Toy (@rtoy) gitlab at common-lisp.net
Fri May 7 15:17:40 UTC 2021



Raymond Toy pushed to branch master at cmucl / cmucl


Commits:
6dc68de2 by Raymond Toy at 2021-05-07T08:00:04-07:00
Fix #107: Use uint8_t instead of u_int8_t.

Use the C standard type `uint8_t` instead of `u_int8_t`.

- - - - -
545c960d by Raymond Toy at 2021-05-07T15:17:34+00:00
Merge branch 'issue-107-use-uint8_t' into 'master'

Fix #107: Use uint8_t instead of u_int8_t.

Closes #107

See merge request cmucl/cmucl!76
- - - - -


1 changed file:

- src/lisp/x86-arch.h


Changes:

=====================================
src/lisp/x86-arch.h
=====================================
@@ -6,6 +6,8 @@
 */
 #ifndef __X86_ARCH_H
 
+#include <stdint.h>
+
 extern int arch_support_sse2(void);
 extern boolean os_support_sse2(void);
 
@@ -25,6 +27,6 @@ extern boolean os_support_sse2(void);
  * Just use the SSE size for both x87 and sse2 since the SSE size is
  * enough for either.  Make sure it's on a 16-byte boundary.
  */
-#define FPU_STATE(name)    u_int8_t name[SSE_STATE_SIZE] __attribute__((aligned(16)))
+#define FPU_STATE(name)    uint8_t name[SSE_STATE_SIZE] __attribute__((aligned(16)))
 
 #endif



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/8e4a873cc12919244b3e8e73bed2f6b1366d34d4...545c960df893ce176fc899823188060f2814d350

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/8e4a873cc12919244b3e8e73bed2f6b1366d34d4...545c960df893ce176fc899823188060f2814d350
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/20210507/17c2e1ad/attachment.html>


More information about the cmucl-cvs mailing list