diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2021-11-06 17:01:58 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2021-11-06 17:01:58 +0100 |
commit | 8700803fa8a2e7bb953aa01462a976675a8fb0fb (patch) | |
tree | dedc4d7119880dc3b65918ccac2f90ffbc328522 /include/osmocom | |
parent | 0887442c20219f1f03b5042be26d1999ff062ffc (diff) |
for linter: s/while(0)/while (0)
Change-Id: Ib422e7d1a7d543dcd8738581839ce55bb8fc29d2
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/bsc/assignment_fsm.h | 2 | ||||
-rw-r--r-- | include/osmocom/bsc/handover.h | 2 | ||||
-rw-r--r-- | include/osmocom/bsc/lchan_fsm.h | 4 | ||||
-rw-r--r-- | include/osmocom/bsc/lchan_rtp_fsm.h | 2 | ||||
-rw-r--r-- | include/osmocom/bsc/lcs_loc_req.h | 2 | ||||
-rw-r--r-- | include/osmocom/bsc/lcs_ta_req.h | 2 | ||||
-rw-r--r-- | include/osmocom/bsc/timeslot_fsm.h | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/include/osmocom/bsc/assignment_fsm.h b/include/osmocom/bsc/assignment_fsm.h index 3a64f7dd1..6c429e418 100644 --- a/include/osmocom/bsc/assignment_fsm.h +++ b/include/osmocom/bsc/assignment_fsm.h @@ -17,7 +17,7 @@ conn->assignment.new_lchan ? " of " : "", \ conn->assignment.new_lchan ? gsm_lchan_name(conn->assignment.new_lchan) : "", \ ## args); \ - } while(0) + } while (0) enum assignment_fsm_state { ASSIGNMENT_ST_WAIT_LCHAN_ACTIVE, diff --git a/include/osmocom/bsc/handover.h b/include/osmocom/bsc/handover.h index f67149142..58fea353e 100644 --- a/include/osmocom/bsc/handover.h +++ b/include/osmocom/bsc/handover.h @@ -17,7 +17,7 @@ else \ LOGP(DHODEC, level, "%s: " fmt, \ handover_status(conn), ## args); \ - } while(0) + } while (0) struct gsm_network; struct gsm_lchan; diff --git a/include/osmocom/bsc/lchan_fsm.h b/include/osmocom/bsc/lchan_fsm.h index fa0d29984..eb8312e03 100644 --- a/include/osmocom/bsc/lchan_fsm.h +++ b/include/osmocom/bsc/lchan_fsm.h @@ -10,14 +10,14 @@ LOGPFSML((lchan)->fi, level, "(type=%s) " fmt, gsm_lchant_name((lchan)->type), ## args); \ else \ LOGP(DRSL, level, "%s (not initialized) " fmt, gsm_lchan_name(lchan), ## args); \ - } while(0) + } while (0) #define LCHAN_SET_LAST_ERROR(LCHAN, fmt, args...) do { \ if ((LCHAN)->last_error) \ talloc_free((LCHAN)->last_error); \ (LCHAN)->last_error = talloc_asprintf((LCHAN)->ts->trx, fmt, ##args); \ LOG_LCHAN(LCHAN, LOGL_ERROR, "%s\n", (LCHAN)->last_error); \ - } while(0) + } while (0) enum lchan_fsm_state { LCHAN_ST_UNUSED, diff --git a/include/osmocom/bsc/lchan_rtp_fsm.h b/include/osmocom/bsc/lchan_rtp_fsm.h index 6ff8fe362..18ab348f2 100644 --- a/include/osmocom/bsc/lchan_rtp_fsm.h +++ b/include/osmocom/bsc/lchan_rtp_fsm.h @@ -7,7 +7,7 @@ else \ LOGP(DLMGCP, level, "%s (not initialized) " fmt, gsm_lchan_name(lchan), \ ## args); \ - } while(0) + } while (0) struct gsm_lchan; struct mgcp_conn_peer; diff --git a/include/osmocom/bsc/lcs_loc_req.h b/include/osmocom/bsc/lcs_loc_req.h index ba677e867..86540f278 100644 --- a/include/osmocom/bsc/lcs_loc_req.h +++ b/include/osmocom/bsc/lcs_loc_req.h @@ -8,7 +8,7 @@ LOGPFSML((LOC_REQ)->fi, level, fmt, ## args); \ else \ LOGP(DLCS, level, "LCS Perf Loc Req: " fmt, ## args); \ - } while(0) + } while (0) struct lcs_ta_req; diff --git a/include/osmocom/bsc/lcs_ta_req.h b/include/osmocom/bsc/lcs_ta_req.h index b9b7a4e58..bdfc14f60 100644 --- a/include/osmocom/bsc/lcs_ta_req.h +++ b/include/osmocom/bsc/lcs_ta_req.h @@ -11,7 +11,7 @@ LOGPFSML((TA_REQ)->fi, level, fmt, ## args); \ else \ LOGP(DLCS, level, "LCS TA Req: " fmt, ## args); \ - } while(0) + } while (0) enum lcs_ta_req_fsm_event { LCS_TA_REQ_EV_GOT_TA, diff --git a/include/osmocom/bsc/timeslot_fsm.h b/include/osmocom/bsc/timeslot_fsm.h index 5e621888f..526f3cf00 100644 --- a/include/osmocom/bsc/timeslot_fsm.h +++ b/include/osmocom/bsc/timeslot_fsm.h @@ -17,7 +17,7 @@ gsm_ts_name(ts), \ ## args, \ (!fmt || !*fmt || fmt[strlen(fmt)-1] != '\n') ? "\n" : ""); \ - } while(0) + } while (0) enum ts_fsm_state { TS_ST_NOT_INITIALIZED, |