mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
changing {} style to match majority of previous style
This commit is contained in:
parent
da6cdf014b
commit
961d929f4d
320 changed files with 5502 additions and 10485 deletions
|
@ -21,8 +21,7 @@ extern "C" {
|
|||
int scandir(const char *dir,
|
||||
struct dirent ***namelist,
|
||||
int (*select)(const struct dirent *),
|
||||
int (*compar)(const struct dirent **, const struct dirent **))
|
||||
{
|
||||
int (*compar)(const struct dirent **, const struct dirent **)) {
|
||||
DIR *dirp;
|
||||
struct dirent *ent, *etmp, **nl = NULL, **ntmp;
|
||||
int count = 0;
|
||||
|
@ -86,8 +85,7 @@ int scandir(const char *dir,
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
int alphasort(const struct dirent **a, const struct dirent **b)
|
||||
{
|
||||
int alphasort(const struct dirent **a, const struct dirent **b) {
|
||||
return strcoll((*a)->d_name, (*b)->d_name);
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue