It's not much code and using a different parser depending on the
config may lead to nasty bugs.
#include "testcase.h"
#include "solv_xfopen.h"
-#ifndef ENABLE_SUSEREPO
-# define DISABLE_JOIN2
-# include "tools_util.h"
-#else
-# include "repo_susetags.h"
-#endif
+#define DISABLE_JOIN2
+#include "tools_util.h"
static struct job2str {
Id job;
return 0;
}
-#ifndef ENABLE_SUSEREPO
-
static inline Offset
adddep(Repo *repo, Offset olddeps, char *str, Id marker)
{
return 0;
}
-#else
-
-int
-testcase_add_susetags(Repo *repo, FILE *fp, int flags)
-{
- return repo_add_susetags(repo, fp, 0, 0, flags);
-}
-
-#endif
-
const char *
testcase_getpoolflags(Pool *pool)
{