From ceb7c5fd1ee2705b09aac143931a925a6f23d7eb Mon Sep 17 00:00:00 2001
From: Patrick McDermott <patrick.mcdermott@libiquity.com>
Date: Wed, 10 May 2023 13:12:50 -0400
Subject: dirent: Remove test code

---
diff --git a/src/dirent.c b/src/dirent.c
index 7f361da..f0377c8 100644
--- a/src/dirent.c
+++ b/src/dirent.c
@@ -109,32 +109,3 @@ opkg_opk_dirent_name_prefix(struct opkg_opk_dirent *dirent, char *name_buf,
 
 	return OPKG_OPK_OK;
 }
-
-int
-main()
-{
-	struct opkg_opk_dirent foo = {
-		.name   = "foo",
-		.parent = NULL,
-	};
-	struct opkg_opk_dirent bar = {
-		.name   = "bar",
-		.parent = &foo,
-	};
-	struct opkg_opk_dirent baz = {
-		.name   = "baz",
-		.parent = &bar,
-	};
-	char  name[8];
-	char  pref[4];
-
-	if (opkg_opk_dirent_name_prefix(&baz, name, sizeof(name),
-				pref, sizeof(pref)) != OPKG_OPK_OK) {
-		puts("Error building name parts");
-		return EXIT_FAILURE;
-	}
-	puts(name);
-	puts(pref);
-
-	return EXIT_SUCCESS;
-}
--
cgit v0.9.1