Use of `errno' as struct field yields some trouble; better use

`glibtop_errno' instead.
This commit is contained in:
Martin Baulig
1999-12-22 11:22:29 +00:00
parent 47a0ef64d8
commit 567ceac52f
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
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
(GLIBTOP_ERROR_SERVER_COMM_FAILURE): New error constant.

View File

@@ -65,7 +65,7 @@ struct _glibtop
glibtop_sysdeps required; /* Required feature list */
glibtop_sysdeps wanted; /* We only want this features */
glibtop_server_private *_priv; /* Private data */
unsigned errno;
unsigned glibtop_errno;
};
extern glibtop *glibtop_global_server;