part.c (2aaf9152a852aba9eb2036b95f4948ee77988826) | part.c (82c29d4fde96ab021241339655d3f0354f5543e3) |
---|---|
1/*- 2 * Copyright (c) 2012 Andrey V. Elsukov <ae@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 32 unchanged lines hidden (view full) --- 41 42#include <crc32.h> 43#include <part.h> 44#include <uuid.h> 45 46#ifdef PART_DEBUG 47#define DPRINTF(fmt, args...) printf("%s: " fmt "\n", __func__, ## args) 48#else | 1/*- 2 * Copyright (c) 2012 Andrey V. Elsukov <ae@FreeBSD.org> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 32 unchanged lines hidden (view full) --- 41 42#include <crc32.h> 43#include <part.h> 44#include <uuid.h> 45 46#ifdef PART_DEBUG 47#define DPRINTF(fmt, args...) printf("%s: " fmt "\n", __func__, ## args) 48#else |
49#define DPRINTF(fmt, args...) | 49#define DPRINTF(fmt, args...) ((void)0) |
50#endif 51 52#ifdef LOADER_GPT_SUPPORT 53#define MAXTBLSZ 64 54static const uuid_t gpt_uuid_unused = GPT_ENT_TYPE_UNUSED; 55static const uuid_t gpt_uuid_ms_basic_data = GPT_ENT_TYPE_MS_BASIC_DATA; 56static const uuid_t gpt_uuid_freebsd_ufs = GPT_ENT_TYPE_FREEBSD_UFS; 57static const uuid_t gpt_uuid_efi = GPT_ENT_TYPE_EFI; --- 892 unchanged lines hidden --- | 50#endif 51 52#ifdef LOADER_GPT_SUPPORT 53#define MAXTBLSZ 64 54static const uuid_t gpt_uuid_unused = GPT_ENT_TYPE_UNUSED; 55static const uuid_t gpt_uuid_ms_basic_data = GPT_ENT_TYPE_MS_BASIC_DATA; 56static const uuid_t gpt_uuid_freebsd_ufs = GPT_ENT_TYPE_FREEBSD_UFS; 57static const uuid_t gpt_uuid_efi = GPT_ENT_TYPE_EFI; --- 892 unchanged lines hidden --- |