Print this page
remove support for non-ANSI compilation
*** 17,58 ****
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
#ifndef _WAIT_H
#define _WAIT_H
- #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */
-
#include <sys/types.h>
#include <sys/siginfo.h>
#include <sys/procset.h>
#include <sys/wait.h>
#ifdef __cplusplus
extern "C" {
#endif
- #if defined(__STDC__)
-
extern pid_t wait(int *);
extern pid_t waitpid(pid_t, int *, int);
extern int waitid(idtype_t, id_t, siginfo_t *, int);
- #else
-
- extern pid_t wait();
- extern pid_t waitpid();
- extern int waitid();
-
- #endif
-
#ifdef __cplusplus
}
#endif
#endif /* _WAIT_H */
--- 17,49 ----
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
+ /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ */
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
#ifndef _WAIT_H
#define _WAIT_H
#include <sys/types.h>
#include <sys/siginfo.h>
#include <sys/procset.h>
#include <sys/wait.h>
#ifdef __cplusplus
extern "C" {
#endif
extern pid_t wait(int *);
extern pid_t waitpid(pid_t, int *, int);
extern int waitid(idtype_t, id_t, siginfo_t *, int);
#ifdef __cplusplus
}
#endif
#endif /* _WAIT_H */