summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon/gmon.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-01 01:39:09 +0000
committerobrien <obrien@FreeBSD.org>2002-02-01 01:39:09 +0000
commit3a4c649bdce936d04cb72e382c82cef01cad3f53 (patch)
tree4d25eee58a2785a88de7b78bde70bace2fa7506a /lib/libc/gmon/gmon.c
parentb45ff0fb569a631733b0fe8174ef6bd2e76d6523 (diff)
downloadFreeBSD-src-3a4c649bdce936d04cb72e382c82cef01cad3f53.zip
FreeBSD-src-3a4c649bdce936d04cb72e382c82cef01cad3f53.tar.gz
* Remove __P and convert to ANSI prototypes.
* Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's.
Diffstat (limited to 'lib/libc/gmon/gmon.c')
-rw-r--r--lib/libc/gmon/gmon.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c
index 35f92da..e825619 100644
--- a/lib/libc/gmon/gmon.c
+++ b/lib/libc/gmon/gmon.c
@@ -29,13 +29,13 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $FreeBSD$
*/
#if !defined(lint) && defined(LIBC_SCCS)
static char sccsid[] = "@(#)gmon.c 8.1 (Berkeley) 6/4/93";
#endif
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include "namespace.h"
#include <sys/param.h>
@@ -67,15 +67,15 @@ static int s_scale;
#define ERR(s) _write(2, s, sizeof(s))
-void moncontrol __P((int));
-static int hertz __P((void));
+void moncontrol(int);
+static int hertz(void);
void
monstartup(lowpc, highpc)
u_long lowpc;
u_long highpc;
{
- register int o;
+ int o;
char *cp;
struct gmonparam *p = &_gmonparam;
OpenPOWER on IntegriCloud