mirror of
https://github.com/apache/httpd.git
synced 2025-08-20 16:09:55 +00:00
Why should Ryan have all the fun?
Cleans up compiler warning emits. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85263 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -61,12 +61,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#define BUFSIZE 65536
|
||||
#ifdef MAX_PATH
|
||||
#undef MAX_PATH
|
||||
#endif
|
||||
#define MAX_PATH 1024
|
||||
|
||||
#include "ap_config.h"
|
||||
#include <time.h>
|
||||
#include <errno.h>
|
||||
@ -74,6 +68,12 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define BUFSIZE 65536
|
||||
|
||||
#ifndef MAX_PATH
|
||||
#define MAX_PATH 1024
|
||||
#endif
|
||||
|
||||
int main (int argc, char *argv[])
|
||||
{
|
||||
char buf[BUFSIZE], buf2[MAX_PATH];
|
||||
@ -138,4 +138,6 @@ int main (int argc, char *argv[])
|
||||
exit(5);
|
||||
}
|
||||
}
|
||||
/* Of course we never, but prevent compiler warnings */
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user