1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

for #354, remove the double underscore functions and variables.

This commit is contained in:
winlin 2015-03-21 11:55:28 +08:00
parent 7065db192c
commit bbac2348db
31 changed files with 280 additions and 256 deletions

View file

@ -32,16 +32,16 @@ using namespace std;
#include <srs_app_kbps.hpp>
#include <srs_app_conn.hpp>
int64_t __srs_gvid = getpid();
int64_t srs_gvid = getpid();
int64_t __srs_generate_id()
int64_t srs_generate_id()
{
return __srs_gvid++;
return srs_gvid++;
}
SrsStatisticVhost::SrsStatisticVhost()
{
id = __srs_generate_id();
id = srs_generate_id();
kbps = new SrsKbps();
kbps->set_io(NULL, NULL);
@ -54,7 +54,7 @@ SrsStatisticVhost::~SrsStatisticVhost()
SrsStatisticStream::SrsStatisticStream()
{
id = __srs_generate_id();
id = srs_generate_id();
vhost = NULL;
has_video = false;
@ -87,7 +87,7 @@ SrsStatistic* SrsStatistic::_instance = new SrsStatistic();
SrsStatistic::SrsStatistic()
{
_server_id = __srs_generate_id();
_server_id = srs_generate_id();
kbps = new SrsKbps();
kbps->set_io(NULL, NULL);