From b3ee525e9e0d49485714770d898cf9c28769313a Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 22 Apr 2025 20:30:40 -0600 Subject: Drop -fplan9-extensions --- lib9p_util/static.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'lib9p_util/static.c') diff --git a/lib9p_util/static.c b/lib9p_util/static.c index 1726319..c35d28c 100644 --- a/lib9p_util/static.c +++ b/lib9p_util/static.c @@ -29,7 +29,7 @@ static struct lib9p_qid util9p_static_dir_qid(struct util9p_static_dir *self) { return (struct lib9p_qid){ .type = LIB9P_QT_DIR, .vers = 1, - .path = self->pathnum, + .path = self->c.pathnum, }; } @@ -39,14 +39,14 @@ static struct lib9p_srv_stat util9p_static_dir_stat(struct util9p_static_dir *se return (struct lib9p_srv_stat){ .qid = util9p_static_dir_qid(self), - .mode = LIB9P_DM_DIR | (self->perm & 0555), - .atime_sec = self->atime, - .mtime_sec = self->mtime, + .mode = LIB9P_DM_DIR | (self->c.perm & 0555), + .atime_sec = self->c.atime, + .mtime_sec = self->c.mtime, .size = 0, - .name = lib9p_str(self->name), - .owner_uid = { .name = lib9p_str(self->u_name), .num = self->u_num }, - .owner_gid = { .name = lib9p_str(self->g_name), .num = self->g_num }, - .last_modifier_uid = { .name = lib9p_str(self->m_name), .num = self->m_num }, + .name = lib9p_str(self->c.name), + .owner_uid = { .name = lib9p_str(self->c.u_name), .num = self->c.u_num }, + .owner_gid = { .name = lib9p_str(self->c.g_name), .num = self->c.g_num }, + .last_modifier_uid = { .name = lib9p_str(self->c.m_name), .num = self->c.m_num }, .extension = lib9p_str(NULL), }; } @@ -135,7 +135,7 @@ static struct lib9p_qid util9p_static_file_qid(struct util9p_static_file *self) return (struct lib9p_qid){ .type = LIB9P_QT_FILE, .vers = 1, - .path = self->pathnum, + .path = self->c.pathnum, }; } @@ -157,14 +157,14 @@ static struct lib9p_srv_stat util9p_static_file_stat(struct util9p_static_file * return (struct lib9p_srv_stat){ .qid = util9p_static_file_qid(self), - .mode = self->perm & 0444, - .atime_sec = self->atime, - .mtime_sec = self->mtime, + .mode = self->c.perm & 0444, + .atime_sec = self->c.atime, + .mtime_sec = self->c.mtime, .size = (uint64_t)util9p_static_file_size(self), - .name = lib9p_str(self->name), - .owner_uid = { .name = lib9p_str(self->u_name), .num = self->u_num }, - .owner_gid = { .name = lib9p_str(self->g_name), .num = self->g_num }, - .last_modifier_uid = { .name = lib9p_str(self->m_name), .num = self->m_num }, + .name = lib9p_str(self->c.name), + .owner_uid = { .name = lib9p_str(self->c.u_name), .num = self->c.u_num }, + .owner_gid = { .name = lib9p_str(self->c.g_name), .num = self->c.g_num }, + .last_modifier_uid = { .name = lib9p_str(self->c.m_name), .num = self->c.m_num }, .extension = lib9p_str(NULL), }; } -- cgit v1.2.3-2-g168b