Pau Espin Pedrol has posted comments on this change. ( 
https://gerrit.osmocom.org/13403 )

Change subject: bts.h: always include C-headers
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/13403/1/src/bts.h
File src/bts.h:

https://gerrit.osmocom.org/#/c/13403/1/src/bts.h@44
PS1, Line 44: #endif
> What makes you think that? Even if it won't break the compilation (which I 
> doubt) including cpp head […]
It doesn't makes sense from point of view of current compilation with a C 
compiler, since it's going to fail nowadays both ways, so I'm not going to 
discuss that.

I'm pointing out how usually C headers are guarded on C++ code, and since you 
are changing those lines, make it correct:

#ifdef __cplusplus
extern "C" {
#endif
#include ....
#ifdef __cplusplus
}
#endif



--
To view, visit https://gerrit.osmocom.org/13403
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I85b7dc8e8786671a054af2f1e7d836b863a25e60
Gerrit-Change-Number: 13403
Gerrit-PatchSet: 1
Gerrit-Owner: Max <[email protected]>
Gerrit-Reviewer: Daniel Willmann <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Max <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Comment-Date: Mon, 25 Mar 2019 16:48:19 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No

Reply via email to