Use of `errno' as struct field yields some trouble; better use
`glibtop_errno' instead.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
1999-12-22 Martin Baulig <martin@home-of-linux.org>
|
1999-12-22 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
* glibtop.h (glibtop): Added `errno' field.
|
* glibtop.h (glibtop): Added `glibtop_errno' field.
|
||||||
|
|
||||||
* include/glibtop/errors.h
|
* include/glibtop/errors.h
|
||||||
(GLIBTOP_ERROR_SERVER_COMM_FAILURE): New error constant.
|
(GLIBTOP_ERROR_SERVER_COMM_FAILURE): New error constant.
|
||||||
|
@@ -65,7 +65,7 @@ struct _glibtop
|
|||||||
glibtop_sysdeps required; /* Required feature list */
|
glibtop_sysdeps required; /* Required feature list */
|
||||||
glibtop_sysdeps wanted; /* We only want this features */
|
glibtop_sysdeps wanted; /* We only want this features */
|
||||||
glibtop_server_private *_priv; /* Private data */
|
glibtop_server_private *_priv; /* Private data */
|
||||||
unsigned errno;
|
unsigned glibtop_errno;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern glibtop *glibtop_global_server;
|
extern glibtop *glibtop_global_server;
|
||||||
|
Reference in New Issue
Block a user