* removed more function declarations to meet GNU coding standards

This commit is contained in:
Kevin Dalley 1998-09-21 02:09:00 +00:00
parent 177b8d6f90
commit d98500c649
16 changed files with 0 additions and 72 deletions

View File

@ -38,9 +38,6 @@
#define lstat stat
#endif
int lstat ();
int stat ();
#define apply_predicate(pathname, stat_buf_ptr, node) \
(*(node)->pred_func)((pathname), (stat_buf_ptr), (node))

View File

@ -36,35 +36,13 @@
#define ISDIGIT(c) (isascii (c) && isdigit (c))
#define ISUPPER(c) (isascii (c) && isupper (c))
#ifndef _POSIX_VERSION
/* POSIX.1 header files should declare these. */
struct group *getgrnam ();
struct passwd *getpwnam ();
#endif
#ifdef CACHE_IDS
/* These two aren't specified by POSIX.1. */
struct group *getgrent ();
struct passwd *getpwent ();
#endif
#ifndef S_IFLNK
#define lstat stat
#endif
int lstat ();
int stat ();
#ifndef atol /* for Linux */
long atol ();
#endif
struct tm *localtime ();
#ifdef _POSIX_SOURCE
#define endgrent()
#define endpwent()
#else
void endgrent ();
void endpwent ();
#endif
static boolean parse_amin P_((char *argv[], int *arg_ptr));

View File

@ -32,11 +32,6 @@
#define SIGCHLD SIGCLD
#endif
#ifndef _POSIX_VERSION
struct passwd *getpwuid ();
struct group *getgrgid ();
#endif
#if HAVE_DIRENT_H
# include <dirent.h>
# define NAMLEN(dirent) strlen((dirent)->d_name)
@ -84,9 +79,6 @@ struct group *getgrgid ();
# endif
#endif
int lstat ();
int stat ();
static boolean insert_lname P_((char *pathname, struct stat *stat_buf, struct predicate *pred_ptr, boolean ignore_case));
static boolean launch P_((struct predicate *pred_ptr));
static char *format_date P_((time_t when, int kind));

View File

@ -21,8 +21,6 @@
#ifdef STDC_HEADERS
#include <stdlib.h>
#else
char *malloc ();
#endif
#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
#include <string.h>

View File

@ -29,8 +29,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#if STDC_HEADERS
#include <stdlib.h>
#else
char *malloc (), *realloc ();
#endif
/* Always add at least this many bytes when extending the buffer. */

View File

@ -47,8 +47,6 @@
to get __GNU_LIBRARY__ defined. */
#ifdef __GNU_LIBRARY__
#include <stdlib.h>
#else
char *getenv ();
#endif
#ifndef NULL

View File

@ -33,12 +33,6 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifndef _POSIX_VERSION
struct passwd *getpwuid ();
struct passwd *getpwnam ();
struct group *getgrgid ();
struct group *getgrnam ();
#endif
char *xmalloc ();
char *xstrdup ();

View File

@ -36,7 +36,6 @@
#ifdef STDC_HEADERS
#include <stdlib.h>
#else
char *getenv ();
extern int errno;
#endif
@ -66,9 +65,6 @@ extern int errno;
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
#endif
#if defined(S_ISLNK)
int readlink ();
#endif
/* Extract or fake data from a `struct stat'.
ST_NBLOCKS: Number of 512-byte blocks in the file

View File

@ -34,8 +34,6 @@
#ifdef STDC_HEADERS
#include <stdlib.h>
#else
char *malloc ();
#endif
#ifndef NULL

View File

@ -48,9 +48,6 @@
#ifdef STDC_HEADERS
#include <stdlib.h>
#else
char *malloc ();
char *realloc ();
#endif

View File

@ -54,9 +54,6 @@
#ifdef STDC_HEADERS
#include <stdlib.h>
#include <string.h>
#else
char *malloc ();
char *realloc ();
#endif
#ifndef NULL
#define NULL 0

View File

@ -22,9 +22,6 @@
#ifdef STDC_HEADERS
#include <string.h>
#include <stdlib.h>
#else
char *malloc ();
char *strcpy ();
#endif
/* Return a newly allocated copy of STR,

View File

@ -30,7 +30,6 @@ extern int errno;
#include "pathmax.h"
#ifndef HAVE_GETCWD
char *getwd ();
#define getcwd(buf, max) getwd (buf)
#else
char *getcwd ();

View File

@ -29,10 +29,6 @@
#if STDC_HEADERS
#include <stdlib.h>
#else
VOID *malloc ();
VOID *realloc ();
void free ();
#endif
#ifndef EXIT_FAILURE

View File

@ -67,8 +67,6 @@
#ifdef STDC_HEADERS
#include <stdlib.h>
#else
char *getenv ();
#endif
#ifdef STDC_HEADERS

View File

@ -98,11 +98,6 @@
#ifdef STDC_HEADERS
#include <stdlib.h>
#else
char *malloc ();
void exit ();
void free ();
long strtol ();
extern int errno;
#endif