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 _LIBW_H
#define _LIBW_H
- #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.1 */
-
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
--- 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 _LIBW_H
#define _LIBW_H
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
*** 42,56 ****
short int _pcw; /* WIDE_CHAR width */
char _multibyte; /* 1=multi-byte, 0=single-byte */
} eucwidth_t;
#endif
- #ifdef __STDC__
void getwidth(eucwidth_t *);
- #else
- void getwidth();
- #endif /* __STDC__ */
#ifdef __cplusplus
}
#endif
--- 42,52 ----