From 3f9c39c71d290cbe9e4a8f321658a6e00bec5338 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Nov 2016 17:32:49 -0500 Subject: pe_impl.h: linkage: helper string functions are now static inlined functions. --- src/internal/pe_impl.c | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 src/internal/pe_impl.c (limited to 'src/internal/pe_impl.c') diff --git a/src/internal/pe_impl.c b/src/internal/pe_impl.c deleted file mode 100644 index 96780c9..0000000 --- a/src/internal/pe_impl.c +++ /dev/null @@ -1,49 +0,0 @@ -/*****************************************************************************/ -/* pemagination: a (virtual) tour into portable bits and executable bytes */ -/* Copyright (C) 2013,2014,2015 Z. Gilboa */ -/* Released under GPLv2 and GPLv3; see COPYING.PEMAGINE. */ -/*****************************************************************************/ - -#include -#include -#include "pe_impl.h" - -int32_t pe_impl_strlen_ansi(const char * str) -{ - const char * ch; - const char * upper_bound; - - upper_bound = str + PE_STR_MAX_SYMBOL_LEN_ALLOWED; - - for (ch=str; *ch && ch= 'A') && (c <= 'Z')) - ? c + 'a' - 'A' - : c; -} -- cgit v1.2.3