[Concept,05/10] sandbox: Avoid use of ulong in os.h

Message ID 20250905212330.354827-6-sjg@u-boot.org
State New
Headers
Series ulib: Provide examples for building outside the tree |

Commit Message

Simon Glass Sept. 5, 2025, 9:23 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

This header file is useful outside U-Boot, for the ulib examples. Also
it is supposed to be a system-facing header. So using U-Boot types is
not a good idea.

Replace the sole use of 'ulong' with 'unsigned long'.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 include/os.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/include/os.h b/include/os.h
index e5c524c57a4..dfd6e3c7692 100644
--- a/include/os.h
+++ b/include/os.h
@@ -291,7 +291,7 @@  struct os_dirent_node {
 	/**
 	 * @size:	size of file in bytes
 	 */
-	ulong size;
+	unsigned long size;
 	/**
 	 * @type:	type of entry
 	 */