From 19022ee7547839690948a7a9807930a7891f3f15 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Sat, 10 Feb 2024 02:50:51 +0000
Subject: code base: simplify checks against value returned from snprintf() via
 wrapper.

---
 project/common.mk  | 1 +
 project/headers.mk | 1 +
 2 files changed, 2 insertions(+)

(limited to 'project')

diff --git a/project/common.mk b/project/common.mk
index 275b69c..8ebd33d 100644
--- a/project/common.mk
+++ b/project/common.mk
@@ -47,6 +47,7 @@ INTERNAL_SRCS = \
 	src/internal/$(PACKAGE)_mapfile_impl.c \
 	src/internal/$(PACKAGE)_objlist_impl.c \
 	src/internal/$(PACKAGE)_objmeta_impl.c \
+	src/internal/$(PACKAGE)_snprintf_impl.c \
 	src/internal/$(PACKAGE)_symlink_impl.c \
 
 APP_SRCS = \
diff --git a/project/headers.mk b/project/headers.mk
index 2e7a0af..f847b60 100644
--- a/project/headers.mk
+++ b/project/headers.mk
@@ -17,6 +17,7 @@ INTERNAL_HEADERS = \
 	$(PROJECT_DIR)/src/internal/$(PACKAGE)_mkdir_impl.h \
 	$(PROJECT_DIR)/src/internal/$(PACKAGE)_objlist_impl.h \
 	$(PROJECT_DIR)/src/internal/$(PACKAGE)_readlink_impl.h \
+	$(PROJECT_DIR)/src/internal/$(PACKAGE)_snprintf_impl.h \
 	$(PROJECT_DIR)/src/internal/$(PACKAGE)_spawn_impl.h \
 	$(PROJECT_DIR)/src/internal/$(PACKAGE)_symlink_impl.h \
 	$(PROJECT_DIR)/src/internal/$(PACKAGE)_uninstall_impl.h \
-- 
cgit v1.2.3