style(all): clang format
This commit is contained in:
parent
4aa6b439bb
commit
9bf3ed068a
2 changed files with 9 additions and 7 deletions
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
enum iob_mode {
|
enum iob_mode
|
||||||
|
{
|
||||||
IOB_MODE_NULL = 0,
|
IOB_MODE_NULL = 0,
|
||||||
IOB_MODE_STDIN,
|
IOB_MODE_STDIN,
|
||||||
IOB_MODE_SCRIPT,
|
IOB_MODE_SCRIPT,
|
||||||
|
|
@ -16,7 +17,8 @@ enum iob_mode {
|
||||||
* the script name when mode is set to IOB_SCRIPT,
|
* the script name when mode is set to IOB_SCRIPT,
|
||||||
* the command to execute when mode is set to IOB_CMD,
|
* the command to execute when mode is set to IOB_CMD,
|
||||||
*/
|
*/
|
||||||
struct iob_context {
|
struct iob_context
|
||||||
|
{
|
||||||
enum iob_mode mode;
|
enum iob_mode mode;
|
||||||
char *args;
|
char *args;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue