summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-01-11 18:53:22 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-01-11 18:53:22 +0100
commite7fde9b01293d7bfdfe644b73f8ac679211d0b08 (patch)
treed772f47e525baedadba3517ff59d2782953cce2c /src/include
parentf4dcdc9a1ee5971bfda6acf079d615a6f40382b1 (diff)
downloadabrt-e7fde9b01293d7bfdfe644b73f8ac679211d0b08.tar.gz
abrt-e7fde9b01293d7bfdfe644b73f8ac679211d0b08.tar.xz
abrt-e7fde9b01293d7bfdfe644b73f8ac679211d0b08.zip
remove C++-ism ssprintf from abrtlib.h
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/abrtlib.h19
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