summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/portmap-xdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/xdr/src/portmap-xdr.h')
-rw-r--r--rpc/xdr/src/portmap-xdr.h34
1 files changed, 16 insertions, 18 deletions
diff --git a/rpc/xdr/src/portmap-xdr.h b/rpc/xdr/src/portmap-xdr.h
index edc2ccf24..8e4ff4f45 100644
--- a/rpc/xdr/src/portmap-xdr.h
+++ b/rpc/xdr/src/portmap-xdr.h
@@ -1,33 +1,31 @@
/*
- Copyright (c) 2010 Gluster, Inc. <http://www.gluster.com>
+ Copyright (c) 2007-2012 Red Hat, Inc. <http://www.redhat.com>
This file is part of GlusterFS.
- GlusterFS is free software; you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published
- by the Free Software Foundation; either version 3 of the License,
- or (at your option) any later version.
-
- GlusterFS 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
- Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see
- <http://www.gnu.org/licenses/>.
+ This file is licensed to you under your choice of the GNU Lesser
+ General Public License, version 3 or any later version (LGPLv3 or
+ later), or the GNU General Public License, version 2 (GPLv2), in all
+ cases as published by the Free Software Foundation.
*/
+#include "xdr-common.h"
+#include "compat.h"
+
+#if defined(__GNUC__)
+#if __GNUC__ >= 4
+#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
+#endif
+#endif
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
-#ifndef _PORTMAP_H_RPCGEN
-#define _PORTMAP_H_RPCGEN
+#ifndef _PORTMAP_XDR_H_RPCGEN
+#define _PORTMAP_XDR_H_RPCGEN
#include <rpc/rpc.h>
-#include <rpc/types.h>
#ifdef __cplusplus
@@ -129,4 +127,4 @@ extern bool_t xdr_pmap_signout_rsp ();
}
#endif
-#endif /* !_PORTMAP_H_RPCGEN */
+#endif /* !_PORTMAP_XDR_H_RPCGEN */