Raymond Toy pushed to branch master at cmucl / cmucl
Commits: 2f52e13e by Raymond Toy at 2024-08-21T12:56:51+00:00 Fix #348: Rename u_int64_t to uint64_t
- - - - - b614f974 by Raymond Toy at 2024-08-21T12:56:56+00:00 Merge branch 'issue-348-u_int64_t-to-uint64_t' into 'master'
Fix #348: Rename u_int64_t to uint64_t
Closes #348
See merge request cmucl/cmucl!245 - - - - -
1 changed file:
- src/lisp/os-common.c
Changes:
===================================== src/lisp/os-common.c ===================================== @@ -12,6 +12,7 @@ #include <math.h> #include <netdb.h> #include <pwd.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -608,8 +609,8 @@ os_sleep(double seconds) * function that works across all OSes. */ int -os_stat(const char* path, u_int64_t *dev, u_int64_t *ino, unsigned int *mode, u_int64_t *nlink, - unsigned int *uid, unsigned int *gid, u_int64_t *rdev, int64_t *size, +os_stat(const char* path, uint64_t *dev, uint64_t *ino, unsigned int *mode, uint64_t *nlink, + unsigned int *uid, unsigned int *gid, uint64_t *rdev, int64_t *size, int64_t *atime, int64_t *mtime, int64_t *ctime, long *blksize, int64_t *blocks) { @@ -661,8 +662,8 @@ os_stat(const char* path, u_int64_t *dev, u_int64_t *ino, unsigned int *mode, u_ }
int -os_fstat(int fd, u_int64_t *dev, u_int64_t *ino, unsigned int *mode, u_int64_t *nlink, - unsigned int *uid, unsigned int *gid, u_int64_t *rdev, int64_t *size, +os_fstat(int fd, uint64_t *dev, uint64_t *ino, unsigned int *mode, uint64_t *nlink, + unsigned int *uid, unsigned int *gid, uint64_t *rdev, int64_t *size, int64_t *atime, int64_t *mtime, int64_t *ctime, long *blksize, int64_t *blocks) { @@ -693,8 +694,8 @@ os_fstat(int fd, u_int64_t *dev, u_int64_t *ino, unsigned int *mode, u_int64_t * }
int -os_lstat(const char* path, u_int64_t *dev, u_int64_t *ino, unsigned int *mode, u_int64_t *nlink, - unsigned int *uid, unsigned int *gid, u_int64_t *rdev, int64_t *size, +os_lstat(const char* path, uint64_t *dev, uint64_t *ino, unsigned int *mode, uint64_t *nlink, + unsigned int *uid, unsigned int *gid, uint64_t *rdev, int64_t *size, int64_t *atime, int64_t *mtime, int64_t *ctime, long *blksize, int64_t *blocks) {
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/dcb1f7a3459c892d678cddd...