Call this `LibGTopBackendInfo_Server' when we don't use gmodule.

2000-02-22  Martin Baulig  <martin@home-of-linux.org>

	* backend-sysdeps.c (LibGTopBackendInfo): Call this
	`LibGTopBackendInfo_Server' when we don't use gmodule.
This commit is contained in:
Martin Baulig
2000-02-22 21:55:43 +00:00
committed by Martin Baulig
parent 33a659ab06
commit c3a55796c2
2 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2000-02-22 Martin Baulig <martin@home-of-linux.org>
* backend-sysdeps.c (LibGTopBackendInfo): Call this
`LibGTopBackendInfo_Server' when we don't use gmodule.
2000-02-22 Martin Baulig <martin@home-of-linux.org> 2000-02-22 Martin Baulig <martin@home-of-linux.org>
* Makefile.am: Only install the libs in $(LIBGTOP_BACKEND_DIR) * Makefile.am: Only install the libs in $(LIBGTOP_BACKEND_DIR)

View File

@@ -38,10 +38,17 @@ _close_server (glibtop *, glibtop_backend *);
extern glibtop_call_vector glibtop_backend_server_call_vector; extern glibtop_call_vector glibtop_backend_server_call_vector;
#ifdef LIBGTOP_USE_GMODULE
glibtop_backend_info LibGTopBackendInfo = { glibtop_backend_info LibGTopBackendInfo = {
"glibtop-backend-server", _open_server, _close_server, "glibtop-backend-server", _open_server, _close_server,
&glibtop_backend_server_call_vector &glibtop_backend_server_call_vector
}; };
#else
glibtop_backend_info LibGTopBackendInfo_Server = {
"glibtop-backend-server", _open_server, _close_server,
&glibtop_backend_server_call_vector
};
#endif
static int static int
_open_server (glibtop *server, glibtop_backend *backend, _open_server (glibtop *server, glibtop_backend *backend,