libyang FORMAT uncrustify format of all sources
diff --git a/compat/compat.c b/compat/compat.c
index 7a06d58..a959447 100644
--- a/compat/compat.c
+++ b/compat/compat.c
@@ -39,6 +39,7 @@
}
return count;
}
+
#endif
#ifndef HAVE_ASPRINTF
@@ -53,6 +54,7 @@
va_end(ap);
return ret;
}
+
#endif
#ifndef HAVE_VASPRINTF
@@ -70,6 +72,7 @@
return vsnprintf(*strp, l + 1U, fmt, ap);
}
+
#endif
#ifndef HAVE_STRNDUP
@@ -90,6 +93,7 @@
buf[len] = '\0';
return buf;
}
+
#endif
#ifndef HAVE_STRNSTR
@@ -115,6 +119,7 @@
}
return (char *)s;
}
+
#endif
#ifndef HAVE_GETLINE
@@ -157,6 +162,7 @@
strcpy(*lineptr, line);
return len;
}
+
#endif
#ifndef HAVE_GET_CURRENT_DIR_NAME
@@ -175,4 +181,5 @@
return retval;
}
+
#endif