Using correct `(1 << GLIBTOP_SYSDEPS_<feature>)' in call to

1998-07-30  Martin Baulig  <martin@home-of-linux.org>

	* lib/lib.awk: Using correct `(1 << GLIBTOP_SYSDEPS_<feature>)'
	in call to `glibtop_init_r'.
This commit is contained in:
Martin Baulig
1998-07-30 17:56:02 +00:00
committed by Martin Baulig
parent b55ee6117f
commit e7f5588ee9
2 changed files with 4 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
1998-07-30 Martin Baulig <martin@home-of-linux.org> 1998-07-30 Martin Baulig <martin@home-of-linux.org>
* lib/lib.awk: Using correct `(1 << GLIBTOP_SYSDEPS_<feature>)'
in call to `glibtop_init_r'.
* configure.in (GNOME_LIBGTOP_TYPES): New check. * configure.in (GNOME_LIBGTOP_TYPES): New check.
* include/glibtop/*.h: Using `u_int64_t' instead of `unsigned long' * include/glibtop/*.h: Using `u_int64_t' instead of `unsigned long'

View File

@@ -52,7 +52,7 @@ function output(line) {
} }
print "{"; print "{";
print "\tglibtop_init_r (&server, GLIBTOP_SYSDEPS_"toupper(feature)", 0);"; print "\tglibtop_init_r (&server, (1 << GLIBTOP_SYSDEPS_"toupper(feature)"), 0);";
print ""; print "";
print "\tif ((server->flags & _GLIBTOP_INIT_STATE_SERVER) &&"; print "\tif ((server->flags & _GLIBTOP_INIT_STATE_SERVER) &&";
print "\t (server->features & (1 << GLIBTOP_SYSDEPS_"toupper(feature)")))"; print "\t (server->features & (1 << GLIBTOP_SYSDEPS_"toupper(feature)")))";