xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit 2a88d30065321eb92aaa31bf7c82a64d081334c8

Decrease ambiguity in column_view.c typedef
Rename `struct column_t` to `struct columns_list_t`.

Suggested by cppcheck.
Author: xaizek
Author date (UTC): 2013-01-06 17:42
Committer name: xaizek
Committer date (UTC): 2013-01-06 17:42
Parent(s): 59e6a14cd7a5f439544ffb5b0731a833d4220134
Signing key:
Tree: 77477cbe0ca505c29b8631275ee26f8c6e6a9022
File Lines added Lines deleted
src/column_view.c 2 2
src/column_view.h 1 1
File src/column_view.c changed (mode: 100644) (index 8ced73596..9f7587cee)
... ... typedef struct
58 58 column_t; column_t;
59 59
60 60 /* Column view description structure. Typedef is in the header file. */ /* Column view description structure. Typedef is in the header file. */
61 struct columns_t
61 struct columns_list_t
62 62 { {
63 63 size_t max_width; /* Maximum width of one line of the view. */ size_t max_width; /* Maximum width of one line of the view. */
64 64 size_t count; /* Number of columns in the list. */ size_t count; /* Number of columns in the list. */
 
... ... init_new_column_desc(column_desc_t *desc, int column_id, column_func func)
141 141 columns_t columns_t
142 142 columns_create(void) columns_create(void)
143 143 { {
144 struct columns_t *const result = malloc(sizeof(struct columns_t));
144 struct columns_list_t *const result = malloc(sizeof(struct columns_list_t));
145 145 if(result == NULL) if(result == NULL)
146 146 { {
147 147 return NULL_COLUMNS; return NULL_COLUMNS;
File src/column_view.h changed (mode: 100644) (index 108da0fdb..9dbc8dea6)
... ... typedef enum
54 54 CropType; CropType;
55 55
56 56 /* Type of columns handle. */ /* Type of columns handle. */
57 typedef struct columns_t *columns_t;
57 typedef struct columns_list_t *columns_t;
58 58
59 59 /* A column callback function, which sould fill the buf with column text. */ /* A column callback function, which sould fill the buf with column text. */
60 60 typedef void (*column_func)(int id, const void *data, size_t buf_len, typedef void (*column_func)(int id, const void *data, size_t buf_len,
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master