From cfd17ef0a6a10d87178506e8b4e869f51d126a25 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Sun, 6 Dec 2009 07:01:06 +0000 Subject: Move implementation of closefrom(3) from app.c to strcompat.c git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233358 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/asterisk/compat.h b/include/asterisk/compat.h index 8d973f6c4..c1f9632e7 100644 --- a/include/asterisk/compat.h +++ b/include/asterisk/compat.h @@ -73,6 +73,10 @@ #include "asterisk/poll-compat.h" #endif +#ifndef HAVE_CLOSEFROM +void closefrom(int lowfd); +#endif + #if !defined(HAVE_ASPRINTF) && !defined(__AST_DEBUG_MALLOC) int __attribute__((format(printf, 2, 3))) asprintf(char **str, const char *fmt, ...); #endif -- cgit v1.2.3