| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Avoid repeating the same error messages.
|
|
|
|
| |
No need to allocate memory.
|
|
|
|
|
|
|
|
|
|
| |
Handle errors using goto instead of "do { ... } while(0)".
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
| |
The standard says: "If ptr is a null pointer, no action occurs".
So, remove conditions.
|
|
|
|
|
|
|
|
|
|
| |
Handle errors using goto instead of "do { ... } while(0)".
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
|
|
|
|
|
|
|
| |
This is one of the steps on the way to get rid of errprint_*() macros
and handle errors by yourself. For more context see other patches
under the same topic specified below.
TOPIC=drop_errprint
|
| |
|
|
|
|
| |
Rename macro based on naming rules.
|
|
|
|
|
|
| |
This patch also does:
- Moves usageprint() from constants.h to output.h
- Returns an error after using useprint() clearly.
|
| |
|
| |
|
| |
|
| |
|
|
|