Fix coding convention about member variables and static functions 48/287048/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 19 Jan 2023 06:01:08 +0000 (15:01 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Thu, 19 Jan 2023 06:23:20 +0000 (15:23 +0900)
commite1a794dc9d9e4927738967e9f730557a3bafedbb
tree86e633e69df8b84db0fb7434d26a8016e74f95d8
parent9389cecf2f195b5670b61b27b4971f8302a2f988
Fix coding convention about member variables and static functions

- Issue:
Using two underscores(__) as name of variables or functions is
reserved by C and CPP compilers, so it may occur name colision.

- Solution:
Previously, most of the code followed old tizen coding convention.
However, in case of name, the convention conflicts with C and CPP
standard, because two underscore is already reserved as an identifier by
C and CPP standard. Thus, using two underscores may cause some problems.
To resolve this collision, this patch fixes the name of member variables
and static functions to match C and CPP standard. Through this patch,
CPP files in the project do not use two underscore as name of variables
and functions anymore.

Change-Id: I0ab5030b018d0d28c9cf2927ddbdf8711ecb788b
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
12 files changed:
server/ActivatedModes.cpp
server/ActivatedModes.h
server/AudioStream.cpp
server/AudioStream.h
server/BackgroundVolume.cpp
server/BackgroundVolume.h
server/PlayerThread.cpp
server/PlayerThread.h
server/StateManager.h
server/ttsd_data.cpp
server/ttsd_player.cpp
server/ttsd_state.cpp