Print this page
remove support for non-ANSI compilation
*** 17,51 ****
* 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 _PW_H
#define _PW_H
- #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */
-
#ifdef __cplusplus
extern "C" {
#endif
- #if defined(__STDC__)
-
extern char *logname(void);
extern char *regcmp(const char *, ...);
extern char *regex(const char *, const char *, ...);
- #else
- extern char *logname();
- extern char *regcmp();
- extern char *regex();
- #endif
-
#ifdef __cplusplus
}
#endif
#endif /* _PW_H */
--- 17,43 ----
* 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 _PW_H
#define _PW_H
#ifdef __cplusplus
extern "C" {
#endif
extern char *logname(void);
extern char *regcmp(const char *, ...);
extern char *regex(const char *, const char *, ...);
#ifdef __cplusplus
}
#endif
#endif /* _PW_H */