1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

o random little fixes

This commit is contained in:
Joe Thornber 2001-10-30 17:53:21 +00:00
parent 0fc8bab82a
commit b892f8ecb6
4 changed files with 9 additions and 4 deletions

View File

@ -72,7 +72,7 @@ static int _tok_match(const char *str, const char *b, const char *e);
/*
* public interface
*/
struct config_file *create_config_file()
struct config_file *create_config_file(void)
{
struct cs *c;
struct pool *mem = pool_create(10 * 1024);

View File

@ -34,7 +34,7 @@ struct config_file {
struct config_node *root;
};
struct config_file *create_config_file();
struct config_file *create_config_file(void);
void destroy_config_file(struct config_file *cf);
int read_config(struct config_file *cf, const char *file);

View File

@ -451,6 +451,11 @@ struct io_space *create_lvm1_format(const char *prefix, struct pool *mem,
{
struct io_space *ios = dbg_malloc(sizeof(*ios));
if (!ios) {
stack;
return NULL;
}
ios->get_vgs = _get_vgs;
ios->get_pvs = _get_pvs;
ios->pv_read = _pv_read;

View File

@ -4,8 +4,8 @@
* This file is released under the GPL.
*/
#ifndef LVM_FORMAT1_H
#define LVM_FORMAT1_H
#ifndef _LVM_FORMAT1_H
#define _LVM_FORMAT1_H
#include "metadata.h"