From 000ef2dc58416cd09dc177ab863a2d6f1ab9ba28 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 28 Jan 2021 22:47:25 -0800 Subject: Converted block comments to line comments --- types.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'types.h') diff --git a/types.h b/types.h index 1c38ea5..531bfa3 100644 --- a/types.h +++ b/types.h @@ -1,10 +1,10 @@ -/* - * types.h - * Copyright 2019 Bruce Hill - * Released under the MIT license - * - * This file contains definitions of different types. - */ +// +// types.h +// Copyright 2019 Bruce Hill +// Released under the MIT license +// +// This file contains definitions of different types. +// #ifndef FILE_TYPES__H #define FILE_TYPES__H @@ -20,13 +20,14 @@ #define HASH_SIZE 1024 #define HASH_MASK (HASH_SIZE - 1) -/* Datastructure for file/directory entries. - * entry_t uses intrusive linked lists. This means entries can only belong to - * one list at a time, in this case the list of selected entries. 'atme' is an - * indirect pointer to either the 'next' field of the previous list member, or - * the variable that points to the first list member. In other words, - * item->next->atme == &item->next and firstitem->atme == &firstitem. - */ +// +// Datastructure for file/directory entries. +// entry_t uses intrusive linked lists. This means entries can only belong to +// one list at a time, in this case the list of selected entries. 'atme' is an +// indirect pointer to either the 'next' field of the previous list member, or +// the variable that points to the first list member. In other words, +// item->next->atme == &item->next and firstitem->atme == &firstitem. +// typedef struct entry_s { struct { struct entry_s *next, **atme; -- cgit v1.2.3