From 3ce1f2959437e952b9db4eaeed2407424f11a4d1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 10 Sep 2011 14:34:15 -0400 Subject: Cleanup of configuration options Make several tool features mandatory and simplify the code. --- gmon/gmon.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gmon') diff --git a/gmon/gmon.c b/gmon/gmon.c index af2ac1c..0d2ed05 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 1983, 1992, 1993 + * Copyright (c) 1983, 1992, 1993, 2011 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -36,6 +36,7 @@ #include #include #include +#include #include #include @@ -45,9 +46,6 @@ #include #include -#ifdef USE_IN_LIBIO -# include -#endif /* Head of basic-block list or NULL. */ struct __bb *__bb_head attribute_hidden; @@ -194,7 +192,7 @@ write_hist (fd) char dimen_abbrev; } thdr; struct iovec iov[3] = - { + { { &tag, sizeof (tag) }, { &thdr, sizeof (struct gmon_hist_hdr) }, { _gmonparam.kcount, _gmonparam.kcountsize } -- cgit v1.1