Code

Warning cleanup.
[inkscape.git] / src / dir-util.cpp
index b83eec00283d92641250186448f2772f363a79a0..75f7ca5247821166f8d57e1115839db8d7adc034 100644 (file)
@@ -1,9 +1,12 @@
-/** \file Some utility functions for filenames. */
+/** @file
+ * @brief Utility functions for filenames
+ */
 
 #define DIR_UTIL_C
 
 #include <errno.h>
-#include <string.h>
+#include <string>
+#include <cstring>
 #include <glib/gutils.h>
 #include <glib/gmem.h>
 #include <glib/gerror.h>
@@ -86,8 +89,8 @@ static char const *const current = dots + 1;
 
 \comment
  based on functions by Shigio Yamaguchi.
- FIXME:TODO: force it to also do path normalization of the entire resulting path, 
- i.e. get rid of any .. and . in any place, even if 'path' is already absolute 
+ FIXME:TODO: force it to also do path normalization of the entire resulting path,
+ i.e. get rid of any .. and . in any place, even if 'path' is already absolute
  (now it returns it unchanged in this case)
 
  */