]> tinc-vpn.org Git - tinc/blobdiff - src/invitation.h
Enable and fix many extra warnings supported by GCC and Clang.
[tinc] / src / invitation.h
index 3d017e92ef32ce50d02a509eec53a7aa242c8ef1..e176c4da1e388233805c71a413c7436e0d4e687f 100644 (file)
@@ -1,6 +1,9 @@
+#ifndef TINC_INVITATION_H
+#define TINC_INVITATION_H
+
 /*
     invitation.h -- header for invitation.c.
-    Copyright (C) 2013 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2013-2022 Guus Sliepen <guus@tinc-vpn.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef __TINC_INVITATION_H__
-#define __TINC_INVITATION_H__
-
-bool recvdata(int fd, char *data, size_t len);
 int cmd_invite(int argc, char *argv[]);
 int cmd_join(int argc, char *argv[]);