diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-01-19 14:16:51 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-01-19 14:16:51 +0100 |
commit | 002b46da8a4270b89003a28b4f5431d857cd0b33 (patch) | |
tree | f8471e2e238ac7a79a7eccfbfc1ac0742849bba6 /usermux | |
parent | 9bebcd38f42da289a3eaf9f473a9529f8d3c4664 (diff) |
Rename variables with the name "error" to "err".
The canonical name for variables of the type error_t is err. There
are, however, places where the variable is called error instead. This
is unfortunate, as this shadows the error function. Rename such
variables to err.
For reference, this is accomplished using the following semantic
patch:
@@
expression E;
@@
-error_t error = E;
+error_t err = E;
<...
-error
+err
...>
@@
@@
-error_t error;
+error_t err;
<...
-error
+err
...>
* libdiskfs/dir-link.c: Rename error to err.
* libdiskfs/dir-unlink.c: Likewise.
* libdiskfs/file-get-trans.c: Likewise.
* libdiskfs/file-get-transcntl.c: Likewise.
* libdiskfs/file-set-trans.c: Likewise.
* libdiskfs/fsys-getroot.c: Likewise.
* libshouldbeinlibc/wire.c: Likewise.
Diffstat (limited to 'usermux')
0 files changed, 0 insertions, 0 deletions