snprintf: fix namespace of snprintf types for freebsd
[lttng-ust.git] / snprintf / fileext.h
index 2d070430248d28971c43db9216fe1fa7f7ba51cd..422cf8234a92902e546936969e8b5abd8377b9c4 100644 (file)
 /*
  * file extension
  */
-struct __sfileext {
-       struct  __sbuf _ub; /* ungetc buffer */
+struct __lttng_ust_sfileext {
+       struct  __lttng_ust_sbuf _ub; /* ungetc buffer */
        struct wchar_io_data _wcio;     /* wide char io status */
 };
 
-#define _EXT(fp) ((struct __sfileext *)((fp)->_ext._base))
+#define _EXT(fp) ((struct __lttng_ust_sfileext *)((fp)->_ext._base))
 #define _UB(fp) _EXT(fp)->_ub
 
 #define _FILEEXT_INIT(fp) \
This page took 0.023525 seconds and 4 git commands to generate.