diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-05-16 10:57:10 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-05-16 10:57:10 +0000 |
commit | 0fd3660e0b9a2358cfecf557a2909116aa4265a5 (patch) | |
tree | 42706f4229221e11f6d4835aa9711a27363d5872 /sys | |
parent | f56e05005c751822074f0a22aa9a98d2eb189924 (diff) | |
download | FreeBSD-src-0fd3660e0b9a2358cfecf557a2909116aa4265a5.zip FreeBSD-src-0fd3660e0b9a2358cfecf557a2909116aa4265a5.tar.gz |
Rename struct scr_size into struct _scr_size and struct scrmap into
struct _scrmap, so that it doesn't break C++ programs (name of element of
the structure is the same as the name of the scructure itself).
MFC after: 5 days
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/consio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sys/consio.h b/sys/sys/consio.h index 05c58cf..e4a60f6 100644 --- a/sys/sys/consio.h +++ b/sys/sys/consio.h @@ -57,18 +57,18 @@ #define KDSBORDER _IO('K', 13 /*, int */) /* set up raster(pixel) text mode */ -struct scr_size { +struct _scr_size { int scr_size[3]; }; -typedef struct scr_size scr_size_t; +typedef struct _scr_size scr_size_t; #define KDRASTER _IOW('K', 100, scr_size_t) /* get/set screen char map */ -struct scrmap { +struct _scrmap { char scrmap[256]; }; -typedef struct scrmap scrmap_t; +typedef struct _scrmap scrmap_t; #define GIO_SCRNMAP _IOR('k', 2, scrmap_t) #define PIO_SCRNMAP _IOW('k', 3, scrmap_t) |