Drop trailing slash from assert_cc() definition
We use assert_cc(...); almost everywhere. Let's always require that. https://github.com/systemd/systemd/issues/12997#issuecomment-510103988
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ int log_get_max_level_realm(LogRealm realm) _pure_;
|
||||
* for the application itself.
|
||||
*/
|
||||
|
||||
assert_cc(STRLEN(__FILE__) > STRLEN(RELATIVE_SOURCE_PATH) + 1)
|
||||
assert_cc(STRLEN(__FILE__) > STRLEN(RELATIVE_SOURCE_PATH) + 1);
|
||||
#define PROJECT_FILE (__FILE__ + STRLEN(RELATIVE_SOURCE_PATH) + 1)
|
||||
|
||||
int log_open(void);
|
||||
|
||||
Reference in New Issue
Block a user