diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/abrtlib.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/include/abrtlib.h b/src/include/abrtlib.h index 9f428486..88e52fff 100644 --- a/src/include/abrtlib.h +++ b/src/include/abrtlib.h @@ -283,23 +283,4 @@ bool load_conf_file(const char *pPath, map_string_h *settings, bool skipKeysWith } #endif - -/* C++ style stuff */ -#ifdef __cplusplus -// TODO: npajkovs: full rewrite ssprintf -> xasprintf -static inline std::string ssprintf(const char *format, ...) -{ - va_list p; - char *string_ptr; - - va_start(p, format); - string_ptr = xvasprintf(format, p); - va_end(p); - - std::string res = string_ptr; - free(string_ptr); - return res; -} -#endif - #endif |
