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 2a8d75c074a61b14739d5a0942344507813ec50b

Rename reset_all_list{ => s }() function
Author: xaizek
Author date (UTC): 2016-02-07 20:53
Committer name: xaizek
Committer date (UTC): 2016-02-07 20:53
Parent(s): aa1dc6f1008519be88429f803ebbe0f885f2f30e
Signing key:
Tree: 3cd9c6e8ba679e89d0bf14c46c8a41294c9fc159
File Lines added Lines deleted
src/filetype.c 3 3
File src/filetype.c changed (mode: 100644) (index e1f92b53e..8e7fe3688)
... ... static void add_assoc(assoc_list_t *assoc_list, assoc_t assoc);
62 62 static void assoc_viewers(matcher_t *matcher, const assoc_records_t *viewers); static void assoc_viewers(matcher_t *matcher, const assoc_records_t *viewers);
63 63 static assoc_records_t clone_assoc_records(const assoc_records_t *records, static assoc_records_t clone_assoc_records(const assoc_records_t *records,
64 64 const char pattern[], const assoc_list_t *dst); const char pattern[], const assoc_list_t *dst);
65 static void reset_all_list(void);
65 static void reset_all_lists(void);
66 66 static void add_defaults(int in_x); static void add_defaults(int in_x);
67 67 static void reset_list(assoc_list_t *assoc_list); static void reset_list(assoc_list_t *assoc_list);
68 68 static void reset_list_head(assoc_list_t *assoc_list); static void reset_list_head(assoc_list_t *assoc_list);
 
... ... add_assoc(assoc_list_t *assoc_list, assoc_t assoc)
305 305 void void
306 306 ft_reset(int in_x) ft_reset(int in_x)
307 307 { {
308 reset_all_list();
308 reset_all_lists();
309 309 add_defaults(in_x); add_defaults(in_x);
310 310 } }
311 311
312 312 static void static void
313 reset_all_list(void)
313 reset_all_lists(void)
314 314 { {
315 315 reset_list(&filetypes); reset_list(&filetypes);
316 316 reset_list(&xfiletypes); reset_list(&xfiletypes);
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