Print this page
remove support for non-ANSI compilation
*** 18,54 ****
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright (c) 1995, 2000 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _RE_COMP_H
#define _RE_COMP_H
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/feature_tests.h>
#ifdef __cplusplus
extern "C" {
#endif
- #if defined(__STDC__)
-
extern char *re_comp(const char *);
extern int re_exec(const char *);
- #else
-
- extern char *re_comp();
- extern int re_exec();
-
- #endif /* __STDC__ */
-
#ifdef __cplusplus
}
#endif
#endif /* _RE_COMP_H */
--- 18,45 ----
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright (c) 1995, 2000 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _RE_COMP_H
#define _RE_COMP_H
#include <sys/feature_tests.h>
#ifdef __cplusplus
extern "C" {
#endif
extern char *re_comp(const char *);
extern int re_exec(const char *);
#ifdef __cplusplus
}
#endif
#endif /* _RE_COMP_H */