btrfs-progs: move some common definitions to own header
Start a header for various defines that are supposed to be used in any context or subpart. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
a52537a594
commit
50ac7b6dc8
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public
|
||||
* License v2 as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this program; if not, write to the
|
||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
* Boston, MA 021110-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __BTRFS_COMMON_DEFS_H__
|
||||
#define __BTRFS_COMMON_DEFS_H__
|
||||
|
||||
#define BTRFS_UUID_UNPARSED_SIZE 37
|
||||
|
||||
#endif
|
3
utils.h
3
utils.h
|
@ -23,6 +23,7 @@
|
|||
#include "ctree.h"
|
||||
#include <dirent.h>
|
||||
#include <stdarg.h>
|
||||
#include "common-defs.h"
|
||||
#include "internal.h"
|
||||
#include "btrfs-list.h"
|
||||
#include "sizes.h"
|
||||
|
@ -62,8 +63,6 @@
|
|||
#define BTRFS_ARG_BLKDEV 3
|
||||
#define BTRFS_ARG_REG 4
|
||||
|
||||
#define BTRFS_UUID_UNPARSED_SIZE 37
|
||||
|
||||
/*
|
||||
* Output modes of size
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue