1240075 <curses.h> can badly redefine memcpy.
--- 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