summaryrefslogtreecommitdiff
path: root/usr/src/lib/libcurses
diff options
context:
space:
mode:
authorDavid Marx <David.M.Marx@Oracle.Com>2010-06-28 09:22:23 -0700
committerDavid Marx <David.M.Marx@Oracle.Com>2010-06-28 09:22:23 -0700
commitf5c761dffa897cbad3761afdc6df9d753f40f012 (patch)
treefbb9739ef206af1876178bc2a7f7544201beeba3 /usr/src/lib/libcurses
parente27732d8ead160782f0326b20fe46c0e9126df9b (diff)
downloadillumos-joyent-f5c761dffa897cbad3761afdc6df9d753f40f012.tar.gz
1240075 <curses.h> can badly redefine memcpy.
Diffstat (limited to 'usr/src/lib/libcurses')
-rw-r--r--usr/src/lib/libcurses/screen/curses.ed10
1 files changed, 0 insertions, 10 deletions
diff --git a/usr/src/lib/libcurses/screen/curses.ed b/usr/src/lib/libcurses/screen/curses.ed
index 333dc48879..a1f607e658 100644
--- a/usr/src/lib/libcurses/screen/curses.ed
+++ b/usr/src/lib/libcurses/screen/curses.ed
@@ -36,8 +36,6 @@ $a
#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 @@ typedef struct termios SGTTYS;
#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 @@ $a
#endif /* _CURSES_H */
.
0r copyright.h
-1,.g/#pragma ident/d
g/\@(\#)curses\.ed/s//\@(\#)curses\.h/
w curses.h