diff options
author | John Ankarström <john@ankarstrom.se> | 2021-07-25 15:16:22 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-07-25 15:16:22 +0200 |
commit | 48aac8801df86e743f5890a3cdc4882d0af89a4e (patch) | |
tree | fbef1606ce6784a8811bc10326218dcd3183e85d /src/parse.c | |
parent | 0a1fe85b05749c9d1bb23142f4f9874ec716426b (diff) | |
download | jwm-48aac8801df86e743f5890a3cdc4882d0af89a4e.tar.gz |
Convert remaining function definitions
Diffstat (limited to 'src/parse.c')
-rw-r--r-- | src/parse.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/parse.c b/src/parse.c index c1ccf2c..8d07632 100644 --- a/src/parse.c +++ b/src/parse.c @@ -494,7 +494,9 @@ ParseRootMenu(const TokenNode *start) /**************************************************************************** ****************************************************************************/ -MenuItem *InsertMenuItem(MenuItem *last) { +MenuItem * +InsertMenuItem(MenuItem *last) +{ MenuItem *item; @@ -1532,7 +1534,9 @@ ParseGroupOption(const TokenNode *tp, struct GroupType *group, /*************************************************************************** ***************************************************************************/ -char *FindAttribute(AttributeNode *ap, const char *name) { +char * +FindAttribute(AttributeNode *ap, const char *name) +{ while(ap) { if(!strcmp(name, ap->name)) { @@ -1546,7 +1550,9 @@ char *FindAttribute(AttributeNode *ap, const char *name) { /*************************************************************************** ***************************************************************************/ -char *ReadFile(FILE *fd) { +char * +ReadFile(FILE *fd) +{ const int BLOCK_SIZE = 1024; |