misc: various compilation warning fixes and copyright updates.
This commit is contained in:
parent
585ec6d1ce
commit
da98aa3dbc
@ -1,8 +1,8 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# bootstrap: generic bootstrap/autogen.sh script for autotools projects
|
# bootstrap - generic bootstrap/autogen.sh script for autotools projects
|
||||||
#
|
#
|
||||||
# Copyright (c) 2002-2014 Sam Hocevar <sam@hocevar.net>
|
# Copyright © 2002—2015 Sam Hocevar <sam@hocevar.net>
|
||||||
#
|
#
|
||||||
# This program is free software. It comes without any warranty, to
|
# This program is free software. It comes without any warranty, to
|
||||||
# the extent permitted by applicable law. You can redistribute it
|
# the extent permitted by applicable law. You can redistribute it
|
||||||
|
|||||||
12
configure.ac
12
configure.ac
@ -61,11 +61,19 @@ esac
|
|||||||
AC_SUBST(WINSOCK2_LIBS)
|
AC_SUBST(WINSOCK2_LIBS)
|
||||||
AC_SUBST(DLL_LDFLAGS)
|
AC_SUBST(DLL_LDFLAGS)
|
||||||
|
|
||||||
AC_CHECK_HEADERS(windows.h winsock2.h io.h process.h unistd.h inttypes.h stdint.h libc.h malloc.h dlfcn.h regex.h sys/cdefs.h sys/socket.h netinet/in.h arpa/inet.h sys/uio.h aio.h sys/mman.h sys/wait.h sys/resource.h sys/time.h endian.h mach/task.h)
|
AC_CHECK_HEADERS(unistd.h inttypes.h stdint.h endian.h libc.h)
|
||||||
|
AC_CHECK_HEADERS(windows.h winsock2.h process.h)
|
||||||
|
AC_CHECK_HEADERS(malloc.h dlfcn.h regex.h sys/cdefs.h sys/socket.h)
|
||||||
|
AC_CHECK_HEADERS(netinet/in.h arpa/inet.h sys/uio.h aio.h)
|
||||||
|
AC_CHECK_HEADERS(sys/mman.h sys/wait.h sys/resource.h sys/time.h)
|
||||||
|
AC_CHECK_HEADERS(io.h mach/task.h)
|
||||||
|
|
||||||
AC_CHECK_FUNCS(setenv waitpid setrlimit gettimeofday fork kill pipe _pipe)
|
AC_CHECK_FUNCS(setenv waitpid setrlimit gettimeofday fork kill pipe _pipe)
|
||||||
AC_CHECK_FUNCS(regexec regwexec)
|
AC_CHECK_FUNCS(regexec regwexec)
|
||||||
AC_CHECK_FUNCS(dup dup2 ftello fseeko _IO_getc getline getdelim fgetln map_fd memalign posix_memalign aio_read accept bind connect socket readv pread recv recvfrom recvmsg mmap valloc sigaction getpagesize)
|
AC_CHECK_FUNCS(dup dup2 ftello fseeko _IO_getc getline getdelim fgetln map_fd)
|
||||||
|
AC_CHECK_FUNCS(memalign posix_memalign aio_read accept bind connect socket)
|
||||||
|
AC_CHECK_FUNCS(readv pread recv recvfrom recvmsg valloc sigaction)
|
||||||
|
AC_CHECK_FUNCS(mmap getpagesize)
|
||||||
AC_CHECK_FUNCS(getc_unlocked getchar_unlocked fgetc_unlocked fread_unlocked fgets_unlocked)
|
AC_CHECK_FUNCS(getc_unlocked getchar_unlocked fgetc_unlocked fread_unlocked fgets_unlocked)
|
||||||
AC_CHECK_FUNCS(__getdelim __srefill __filbuf __srget __uflow)
|
AC_CHECK_FUNCS(__getdelim __srefill __filbuf __srget __uflow)
|
||||||
AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 freopen64 ftello64 fseeko64 fsetpos64)
|
AC_CHECK_FUNCS(open64 lseek64 mmap64 fopen64 freopen64 ftello64 fseeko64 fsetpos64)
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#define ATTRIBUTE_PRINTF(x,y) /* */
|
#define ATTRIBUTE_PRINTF(x,y) /* */
|
||||||
#define CONNECT_USES_STRUCT_SOCKADDR 1
|
#define CONNECT_USES_STRUCT_SOCKADDR 1
|
||||||
#define FPOS_CAST(x) (x)
|
#define FPOS64_CAST(x) (x)
|
||||||
#define HAVE_ACCEPT 1
|
#define HAVE_ACCEPT 1
|
||||||
/* #undef HAVE_AIO_H */
|
/* #undef HAVE_AIO_H */
|
||||||
/* #undef HAVE_AIO_READ */
|
/* #undef HAVE_AIO_READ */
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* zzuf - general purpose fuzzer
|
* zzuf - general purpose fuzzer
|
||||||
*
|
*
|
||||||
* Copyright © 2006—2015 Sam Hocevar <sam@hocevar.net>
|
* Copyright © 2002—2015 Sam Hocevar <sam@hocevar.net>
|
||||||
* 2012 Kévin Szkudłapski <kszkudlapski@quarkslab.com>
|
* 2012 Kévin Szkudłapski <kszkudlapski@quarkslab.com>
|
||||||
*
|
*
|
||||||
* This program is free software. It comes without any warranty, to
|
* This program is free software. It comes without any warranty, to
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* zzuf - general purpose fuzzer
|
* zzuf - general purpose fuzzer
|
||||||
*
|
*
|
||||||
* Copyright © 2006—2015 Sam Hocevar <sam@hocevar.net>
|
* Copyright © 2002—2015 Sam Hocevar <sam@hocevar.net>
|
||||||
*
|
*
|
||||||
* This program is free software. It comes without any warranty, to
|
* This program is free software. It comes without any warranty, to
|
||||||
* the extent permitted by applicable law. You can redistribute it
|
* the extent permitted by applicable law. You can redistribute it
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* zzuf - general purpose fuzzer
|
* zzuf - general purpose fuzzer
|
||||||
*
|
*
|
||||||
* Copyright © 2006—2015 Sam Hocevar <sam@hocevar.net>
|
* Copyright © 2002—2015 Sam Hocevar <sam@hocevar.net>
|
||||||
*
|
*
|
||||||
* This program is free software. It comes without any warranty, to
|
* This program is free software. It comes without any warranty, to
|
||||||
* the extent permitted by applicable law. You can redistribute it
|
* the extent permitted by applicable law. You can redistribute it
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* zzuf - general purpose fuzzer
|
* zzuf - general purpose fuzzer
|
||||||
*
|
*
|
||||||
* Copyright © 2006—2015 Sam Hocevar <sam@hocevar.net>
|
* Copyright © 2002—2015 Sam Hocevar <sam@hocevar.net>
|
||||||
* 2012 Kévin Szkudłapski <kszkudlapski@quarkslab.com>
|
* 2012 Kévin Szkudłapski <kszkudlapski@quarkslab.com>
|
||||||
*
|
*
|
||||||
* This program is free software. It comes without any warranty, to
|
* This program is free software. It comes without any warranty, to
|
||||||
|
|||||||
@ -18,6 +18,8 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#define _INCLUDE_POSIX_SOURCE /* for STDERR_FILENO on HP-UX */
|
#define _INCLUDE_POSIX_SOURCE /* for STDERR_FILENO on HP-UX */
|
||||||
|
#define _POSIX_SOURCE /* for kill() on glibc systems */
|
||||||
|
#define _BSD_SOURCE /* for setenv() on glibc systems */
|
||||||
|
|
||||||
#if defined HAVE_STDINT_H
|
#if defined HAVE_STDINT_H
|
||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user