sbruno eaa789e831 TCP Wrappers: tcpdchk (tcp wrapper configuration checker) and tcpdmatch
(tcp wrapper oracle) warning fixes via edits to the C code files

contrib/tcp_wrappers/fakelog.c
  Warnings for each of functions: openlog( ), vsyslog( ), VARARGS( ),
  closelog( )
    warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
    warning: control reaches end of non-void function [-Wreturn-type]
  Fixes:
      Explicitly added specification of function type to void for each
        function, suppressing both warnings for each function listed
contrib/tcp_wrappers/inetcf.c
  Warnings:
      warning: incompativle redeclaration of library function 'malloc'
        note: 'malloc' is a builtin with type 'void *(unsigned long)'
      warning: implicit declaration of function 'check_path' is invalid in C99
        [-Wimplicit-function-declaration]
  Fixes:
      Removed redeclaration of malloc on line 21
      Included library <stdlib.h> in the code which contains the malloc( )
        function in it's library
      Included scaffold.h header file in the code that contains check-path( )
        function
contrib/tcp_wrappers/scaffold.c
  Warnings:
      warning: implicitly declaring library function 'exit' with type
        'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
      note: include the header <stdlib.h> or explicitly provide a declaration
        for 'exit'
  Fixes:
      Included <stdlib.h> in the code which contains the exit( ) function in
      it's library
contrib/tcp_wrappers/tcpdchk.c
  Warnings:
      warning: implicit declaration of function 'getopt' is invalid
        in C99 [-Wimplicit-function-declaration]
      warning: implicit declaration of function 'atoi' is invalid
        in C99 [-Wimplicit-function-declaration]
  Fixes:
      Included the specific function <getopt.h> library to the code
      Included<stdlib.h> to the code which contains the atoi( ) function in
        the library
contrib/tcp_wrappers/tcpdmatch.c
  Warnings:
      warning: implicit declaration of function 'getopt' is invalid in C99
        [-Wimplicit-function-declaration]
  Fixes:
      Included<stdlib.h> to the code which contains the getopt( ) function in
        the library

Submitted by:	Aaron Prieger <aprieger@llnw.com>
Reviewed by:	vangyzen
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D10995
2017-06-16 22:32:23 +00:00
..
2016-11-14 00:33:03 +00:00
2017-05-10 22:45:05 +00:00
2017-05-31 19:37:23 +00:00
2017-05-22 01:10:12 +00:00
2016-11-07 15:54:47 +00:00
2017-06-15 07:15:05 +00:00
2017-05-05 14:33:39 +00:00
2017-02-19 17:37:16 +00:00
2017-06-16 06:29:21 +00:00
2017-06-14 19:36:28 +00:00
2017-06-08 19:40:00 +00:00
2017-06-06 21:50:00 +00:00
2017-02-06 08:49:57 +00:00
2017-03-23 22:06:06 +00:00
2017-03-16 21:32:05 +00:00
2017-05-23 09:29:05 +00:00
2017-05-05 13:31:25 +00:00
2017-01-30 16:32:53 +00:00
2017-02-28 23:42:47 +00:00
2017-03-25 14:14:11 +00:00
2017-06-01 19:21:30 +00:00
2017-05-20 18:02:31 +00:00
2017-02-28 23:42:47 +00:00
2017-03-27 21:00:49 +00:00
2016-09-29 18:24:29 +00:00
2017-06-03 02:42:49 +00:00
2017-01-17 05:55:47 +00:00
2017-05-06 10:26:40 +00:00