Removed.
2000-11-26 Martin Baulig <martin@home-of-linux.org> * glibtop-backend-private.h: Removed. * backend-sysdeps.h: New files. * backend-sysdeps.c (_open_sysdeps): Don't overwrite `backend->_priv'.
This commit is contained in:
committed by
Martin Baulig
parent
4befe086c4
commit
d294298c7e
@@ -1,3 +1,12 @@
|
|||||||
|
2000-11-26 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
|
* glibtop-backend-private.h: Removed.
|
||||||
|
|
||||||
|
* backend-sysdeps.h: New files.
|
||||||
|
|
||||||
|
* backend-sysdeps.c (_open_sysdeps): Don't overwrite
|
||||||
|
`backend->_priv'.
|
||||||
|
|
||||||
2000-11-22 Martin Baulig <martin@home-of-linux.org>
|
2000-11-22 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
* Makefile.am: Link libgtop_backend_sysdeps.la against
|
* Makefile.am: Link libgtop_backend_sysdeps.la against
|
||||||
|
@@ -16,7 +16,7 @@ backend_DATA = \
|
|||||||
libgtop-sysdeps.backend
|
libgtop-sysdeps.backend
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
glibtop-backend-private.h
|
backend-sysdeps.h
|
||||||
|
|
||||||
backendlib_LTLIBRARIES = \
|
backendlib_LTLIBRARIES = \
|
||||||
libgtop_backend_sysdeps.la
|
libgtop_backend_sysdeps.la
|
||||||
|
@@ -23,11 +23,7 @@
|
|||||||
Boston, MA 02111-1307, USA.
|
Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <glibtop.h>
|
#include <backend-sysdeps.h>
|
||||||
#include <glibtop/global.h>
|
|
||||||
#include <glibtop/xmalloc.h>
|
|
||||||
|
|
||||||
#include <glibtop-backend-private.h>
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_open_sysdeps (glibtop_server *, glibtop_backend *, u_int64_t, const char **);
|
_open_sysdeps (glibtop_server *, glibtop_backend *, u_int64_t, const char **);
|
||||||
@@ -55,9 +51,6 @@ _open_sysdeps (glibtop_server *server, glibtop_backend *backend,
|
|||||||
{
|
{
|
||||||
glibtop_init_func_t *init_fkt;
|
glibtop_init_func_t *init_fkt;
|
||||||
|
|
||||||
backend->_priv = glibtop_calloc_r
|
|
||||||
(server, 1, sizeof (glibtop_backend_private));
|
|
||||||
|
|
||||||
/* Do the initialization, but only if not already initialized. */
|
/* Do the initialization, but only if not already initialized. */
|
||||||
|
|
||||||
if ((server->flags & _GLIBTOP_INIT_STATE_SYSDEPS) == 0) {
|
if ((server->flags & _GLIBTOP_INIT_STATE_SYSDEPS) == 0) {
|
||||||
|
@@ -23,16 +23,15 @@
|
|||||||
Boston, MA 02111-1307, USA.
|
Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __GLIBTOP_BACKEND_PRIVATE_H__
|
#ifndef __GLIBTOP_BACKEND_SYSDEPS_H__
|
||||||
#define __GLIBTOP_BACKEND_PRIVATE_H__
|
#define __GLIBTOP_BACKEND_SYSDEPS_H__
|
||||||
|
|
||||||
|
#include <glibtop.h>
|
||||||
|
#include <glibtop/global.h>
|
||||||
|
|
||||||
#include <glibtop/open.h>
|
#include <glibtop/open.h>
|
||||||
|
#include <glibtop/xmalloc.h>
|
||||||
#include <glibtop/glibtop-backend.h>
|
#include <glibtop/glibtop-backend.h>
|
||||||
#include <glibtop/glibtop-backend-info.h>
|
#include <glibtop/glibtop-backend-info.h>
|
||||||
|
|
||||||
struct _glibtop_backend_private
|
|
||||||
{
|
|
||||||
u_int64_t flags;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
#endif
|
@@ -24,17 +24,13 @@ print '/* marshal.c */';
|
|||||||
print "/* This is a generated file. Please modify `marshal.pl' */";
|
print "/* This is a generated file. Please modify `marshal.pl' */";
|
||||||
print '';
|
print '';
|
||||||
|
|
||||||
print '#include <glibtop.h>';
|
print '#include <backend-sysdeps.h>';
|
||||||
print '#include <glibtop/open.h>';
|
|
||||||
print '#include <glibtop/xmalloc.h>';
|
|
||||||
print '';
|
print '';
|
||||||
print '#include <glibtop/sysdeps.h>';
|
print '#include <glibtop/sysdeps.h>';
|
||||||
print '#include <glibtop/union.h>';
|
print '#include <glibtop/union.h>';
|
||||||
print '';
|
print '';
|
||||||
print '#include <glibtop/call-vector.h>';
|
print '#include <glibtop/call-vector.h>';
|
||||||
print '';
|
print '';
|
||||||
print '#include <glibtop-backend-private.h>';
|
|
||||||
print '';
|
|
||||||
|
|
||||||
$feature_count = 0;
|
$feature_count = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user