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
This commit is contained in:
Tilghman Lesher
2009-12-06 07:01:06 +00:00
parent 4fd45889df
commit cfd17ef0a6
3 changed files with 38 additions and 19 deletions

View File

@@ -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