Style: move data to top of file.

This commit is contained in:
Poul-Henning Kamp 2004-12-01 08:06:27 +00:00
parent e9d823dde4
commit cc2f51ef32

View File

@ -144,6 +144,10 @@ int nfiles; /* actual number of open files */
struct sx filelist_lock; /* sx to protect filelist */
struct mtx sigio_lock; /* mtx to protect pointers to sigio */
/* A mutex to protect the association between a proc and filedesc. */
struct mtx fdesc_mtx;
MTX_SYSINIT(fdesc, &fdesc_mtx, "fdesc", MTX_DEF);
/*
* Find the first zero bit in the given bitmap, starting at low and not
* exceeding size - 1.
@ -1524,10 +1528,6 @@ fdcopy(fdp)
return (newfdp);
}
/* A mutex to protect the association between a proc and filedesc. */
struct mtx fdesc_mtx;
MTX_SYSINIT(fdesc, &fdesc_mtx, "fdesc", MTX_DEF);
/*
* Release a filedesc structure.
*/