diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 14:34:15 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-09-10 14:34:15 -0400 |
commit | 3ce1f2959437e952b9db4eaeed2407424f11a4d1 (patch) | |
tree | db47da854c7d3bfc2c3bce4c6fc8381075ac9ec4 /gmon/gmon.c | |
parent | 1248c1c41508387ff282b208636737e8cdc9b5b0 (diff) | |
download | glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.zip glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.gz glibc-3ce1f2959437e952b9db4eaeed2407424f11a4d1.tar.bz2 |
Cleanup of configuration options
Make several tool features mandatory and simplify the code.
Diffstat (limited to 'gmon/gmon.c')
-rw-r--r-- | gmon/gmon.c | 8 |
1 files changed, 3 insertions, 5 deletions
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 <stdio.h> #include <fcntl.h> #include <unistd.h> +#include <wchar.h> #include <stdio.h> #include <stdlib.h> @@ -45,9 +46,6 @@ #include <libc-internal.h> #include <not-cancel.h> -#ifdef USE_IN_LIBIO -# include <wchar.h> -#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 } |