Print this page
remove support for non-ANSI compilation

*** 17,35 **** * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ - #ifndef _PKGINFO_H #define _PKGINFO_H - #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.5.1.2 */ - #ifdef __cplusplus extern "C" { #endif #define PI_INSTALLED 0 --- 17,35 ---- * 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) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ #ifndef _PKGINFO_H #define _PKGINFO_H #ifdef __cplusplus extern "C" { #endif #define PI_INSTALLED 0
*** 49,67 **** char status; }; extern char *pkgdir; - #ifdef __STDC__ extern char *pkgparam(char *, char *); extern int pkginfo(struct pkginfo *, char *, ...), pkgnmchk(char *, char *, int); - #else - extern char *pkgparam(); - extern int pkginfo(), - pkgnmchk(); - #endif /* __STDC__ */ #ifdef __cplusplus } #endif --- 49,61 ----