Project

General

Profile

Actions

Bug #14588

open

list_create(9f): using list_t as variable name is confusing

Added by Yuri Pankov 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
Category:
manpage - manual pages
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

           list_t list_t;
           ...
           for (foo_t *foo = list_head(&list_t); foo != NULL;
               foo = list_next(&list_t, foo)) {
                   /* Process each entry of the list */
           }

The variable name should be something else, e.g., simply list.

Actions #1

Updated by Ryan England 3 months ago

  • Assignee set to Ryan England
Actions

Also available in: Atom PDF