mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 17:52:43 +00:00
Add missing static keywords to cpuset(1)
This commit is contained in:
parent
316b87cb40
commit
9ff0c16a5b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227160
@ -46,22 +46,22 @@ __FBSDID("$FreeBSD$");
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
int Cflag;
|
||||
int cflag;
|
||||
int gflag;
|
||||
int iflag;
|
||||
int jflag;
|
||||
int lflag;
|
||||
int pflag;
|
||||
int rflag;
|
||||
int sflag;
|
||||
int tflag;
|
||||
int xflag;
|
||||
id_t id;
|
||||
cpulevel_t level;
|
||||
cpuwhich_t which;
|
||||
static int Cflag;
|
||||
static int cflag;
|
||||
static int gflag;
|
||||
static int iflag;
|
||||
static int jflag;
|
||||
static int lflag;
|
||||
static int pflag;
|
||||
static int rflag;
|
||||
static int sflag;
|
||||
static int tflag;
|
||||
static int xflag;
|
||||
static id_t id;
|
||||
static cpulevel_t level;
|
||||
static cpuwhich_t which;
|
||||
|
||||
void usage(void);
|
||||
static void usage(void);
|
||||
|
||||
static void printset(cpuset_t *mask);
|
||||
|
||||
@ -161,8 +161,8 @@ printset(cpuset_t *mask)
|
||||
printf("\n");
|
||||
}
|
||||
|
||||
const char *whichnames[] = { NULL, "tid", "pid", "cpuset", "irq", "jail" };
|
||||
const char *levelnames[] = { NULL, " root", " cpuset", "" };
|
||||
static const char *whichnames[] = { NULL, "tid", "pid", "cpuset", "irq", "jail" };
|
||||
static const char *levelnames[] = { NULL, " root", " cpuset", "" };
|
||||
|
||||
static void
|
||||
printaffinity(void)
|
||||
@ -343,7 +343,7 @@ main(int argc, char *argv[])
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user