From: deraadt Date: Thu, 14 Dec 1995 04:02:58 +0000 (+0000) Subject: from netbsd: X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=13ca45bb940c4fef868405ed76b5ef80ee3d9dfd;p=openbsd from netbsd: represent profiling size, scale more correctly (as size_t, u_int, resp.) --- diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h index b7a68fdddb1..53097b08c57 100644 --- a/sys/sys/resourcevar.h +++ b/sys/sys/resourcevar.h @@ -1,4 +1,4 @@ -/* $NetBSD: resourcevar.h,v 1.11 1995/03/26 20:24:37 jtc Exp $ */ +/* $NetBSD: resourcevar.h,v 1.12 1995/11/22 23:01:53 cgd Exp $ */ /* * Copyright (c) 1991, 1993 @@ -53,9 +53,9 @@ struct pstats { struct uprof { /* profile arguments */ caddr_t pr_base; /* buffer base */ - u_long pr_size; /* buffer size */ + size_t pr_size; /* buffer size */ u_long pr_off; /* pc offset */ - u_long pr_scale; /* pc scaling */ + u_int pr_scale; /* pc scaling */ u_long pr_addr; /* temp storage for addr until AST */ u_long pr_ticks; /* temp storage for ticks until AST */ } p_prof;