summaryrefslogtreecommitdiff
path: root/djgpp/djgpp.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-12-02 16:54:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-02 16:54:06 +0000
commitaf89d9af4fcb4773bc931a5c06f9c069c444462b (patch)
tree71285164435f664789d5d8be15d419e08c2ce12c /djgpp/djgpp.c
parentb7ab37f8bff0781ac7e13d6f0ea336950697b9f0 (diff)
downloadperl-af89d9af4fcb4773bc931a5c06f9c069c444462b.tar.gz
Add a header for DJGPP with the function prototypes.
p4raw-id: //depot/perl@13425
Diffstat (limited to 'djgpp/djgpp.c')
-rw-r--r--djgpp/djgpp.c20
1 files changed, 3 insertions, 17 deletions
diff --git a/djgpp/djgpp.c b/djgpp/djgpp.c
index 73573c37ea..0e465b0f82 100644
--- a/djgpp/djgpp.c
+++ b/djgpp/djgpp.c
@@ -1,20 +1,5 @@
#define PERLIO_NOT_STDIO 0
-#include <libc/stubs.h>
-#include <io.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-#include <libc/file.h>
-#include <process.h>
-#include <fcntl.h>
-#include <glob.h>
-#include <sys/fsext.h>
-#include <crt0.h>
-#include "EXTERN.h"
-#include "perl.h"
-#include "XSUB.h"
+#include "djgpp.h"
/* hold file pointer, command, mode, and the status of the command */
struct pipe_list {
@@ -400,7 +385,8 @@ static char *perlprefix;
#define PERL5 "/perl5"
-char *djgpp_pathexp (const char *p)
+char *
+djgpp_pathexp (const char *p)
{
static char expp[PATH_MAX];
strcpy (expp,perlprefix);