mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-20 18:27:14 +08:00
Remove fish_wcstoi decl - fix style
This commit is contained in:
parent
b17ebb4551
commit
ae32d0288b
|
@ -90,8 +90,9 @@ bool builtin_data_t::operator<(const builtin_data_t *other) const {
|
|||
///
|
||||
int builtin_count_args(const wchar_t *const *argv) {
|
||||
int argc;
|
||||
for (argc = 1; argv[argc] != NULL; argc++)
|
||||
;
|
||||
for (argc = 1; argv[argc] != NULL;){
|
||||
argc++;
|
||||
}
|
||||
|
||||
assert(argv[argc] == NULL);
|
||||
return argc;
|
||||
|
|
|
@ -59,8 +59,6 @@ int wmkdir(const wcstring &dir, int mode);
|
|||
|
||||
int wrename(const wcstring &oldName, const wcstring &newName);
|
||||
|
||||
int fish_wcstoi(const wchar_t *str, wchar_t **endptr, int base);
|
||||
|
||||
/// Class for representing a file's inode. We use this to detect and avoid symlink loops, among
|
||||
/// other things. While an inode / dev pair is sufficient to distinguish co-existing files, Linux
|
||||
/// seems to aggressively re-use inodes, so it cannot determine if a file has been deleted (ABA
|
||||
|
|
Loading…
Reference in New Issue
Block a user