changeset 12713:8c87d3621175

1240075 <curses.h> can badly redefine memcpy.
author David Marx <David.M.Marx@Oracle.Com>
date Mon, 28 Jun 2010 09:22:23 -0700
parents 15cc5e08cfc0
children 711e35fbf43b
files usr/src/lib/libcurses/screen/curses.ed
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/lib/libcurses/screen/curses.ed	Mon Jun 28 09:13:50 2010 -0700
+++ b/usr/src/lib/libcurses/screen/curses.ed	Mon Jun 28 09:22:23 2010 -0700
@@ -36,8 +36,6 @@
 #ifndef _CURSES_H
 #define	_CURSES_H
 
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
-
 /*
  * curses.h - this file is automatically made from caps and
  *	curses.ed. Don't make changes directly to curses.h!
@@ -82,13 +80,6 @@
 #endif /* _SGTTYB_ */
 typedef struct sgttyb SGTTY;
 
-/*
- * Here we attempt to improve portability by providing some #defines
- * for SYSV functions on non-SYSV systems.
- */
-#define	memcpy(dst, src, len)	bcopy((src), (dst), (len))
-#define	strchr			index
-#define	strrchr			rindex
 #endif /* SYSV */
 
 /*
@@ -1438,6 +1429,5 @@
 #endif	/* _CURSES_H */
 .
 0r copyright.h
-1,.g/#pragma ident/d
 g/\@(\#)curses\.ed/s//\@(\#)curses\.h/
 w curses.h