Removed.
2000-11-26 Martin Baulig <martin@home-of-linux.org> * glibtop-backend-private.h: Removed. * backend-common.h: New files. * backend-common.c (_open_common): Don't overwrite `backend->_priv'.
This commit is contained in:
committed by
Martin Baulig
parent
d294298c7e
commit
74ab42d100
@@ -1,3 +1,12 @@
|
|||||||
|
2000-11-26 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
|
* glibtop-backend-private.h: Removed.
|
||||||
|
|
||||||
|
* backend-common.h: New files.
|
||||||
|
|
||||||
|
* backend-common.c (_open_common): 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_common.la against
|
* Makefile.am: Link libgtop_backend_common.la against
|
||||||
|
@@ -16,7 +16,7 @@ backend_DATA = \
|
|||||||
libgtop-common.backend
|
libgtop-common.backend
|
||||||
|
|
||||||
noinst_HEADERS = \
|
noinst_HEADERS = \
|
||||||
glibtop-backend-private.h
|
backend-common.h
|
||||||
|
|
||||||
backendlib_LTLIBRARIES = \
|
backendlib_LTLIBRARIES = \
|
||||||
libgtop_backend_common.la
|
libgtop_backend_common.la
|
||||||
|
@@ -23,12 +23,7 @@
|
|||||||
Boston, MA 02111-1307, USA.
|
Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <glibtop.h>
|
#include <backend-common.h>
|
||||||
#include <glibtop/global.h>
|
|
||||||
#include <glibtop/xmalloc.h>
|
|
||||||
|
|
||||||
#include <glibtop/open.h>
|
|
||||||
#include <glibtop-backend-private.h>
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_open_common (glibtop_server *, glibtop_backend *, u_int64_t, const char **);
|
_open_common (glibtop_server *, glibtop_backend *, u_int64_t, const char **);
|
||||||
@@ -54,9 +49,6 @@ static int
|
|||||||
_open_common (glibtop_server *server, glibtop_backend *backend,
|
_open_common (glibtop_server *server, glibtop_backend *backend,
|
||||||
u_int64_t features, const char **backend_args)
|
u_int64_t features, const char **backend_args)
|
||||||
{
|
{
|
||||||
backend->_priv = glibtop_calloc_r
|
|
||||||
(server, 1, sizeof (glibtop_backend_private));
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -23,16 +23,15 @@
|
|||||||
Boston, MA 02111-1307, USA.
|
Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __GLIBTOP_BACKEND_PRIVATE_H__
|
#ifndef __GLIBTOP_BACKEND_COMMON_H__
|
||||||
#define __GLIBTOP_BACKEND_PRIVATE_H__
|
#define __GLIBTOP_BACKEND_COMMON_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-common.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