X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fnss-myhostname%2Fifconf.h;h=cd598d2b43db7c9fbaf8e1d9b8a316995022497a;hp=6b2c83f91eca307f2e49d42752c81f6c96a9a31f;hb=4561be3a64534a911ee405ffb51950a624a0cd3f;hpb=f274ece0f76b5709408821e317e87aef76123db6 diff --git a/src/nss-myhostname/ifconf.h b/src/nss-myhostname/ifconf.h index 6b2c83f91..cd598d2b4 100644 --- a/src/nss-myhostname/ifconf.h +++ b/src/nss-myhostname/ifconf.h @@ -1,33 +1,30 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef fooifconfhfoo -#define fooifconfhfoo - -#include +#pragma once /*** - This file is part of nss-myhostname. + This file is part of systemd. Copyright 2008-2011 Lennart Poettering - nss-myhostname is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License - as published by the Free Software Foundation; either version 2.1 of - the License, or (at your option) any later version. + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. - nss-myhostname is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of + systemd 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 Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public - License along with nss-myhostname; If not, see - . + You should have received a copy of the GNU Lesser General Public License + along with systemd; If not, see . ***/ #include #include #include +#include struct address { unsigned char family; @@ -69,6 +66,3 @@ static inline int address_compare(const void *_a, const void *_b) { return 0; } - - -#endif