diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-07-16 19:28:39 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-07-16 19:28:39 +0200 |
| commit | 0c0d0ca0da8060484ab5f41a6ee73087755a69e3 (patch) | |
| tree | dd455f5a29edba440f2194a60fc06f0ceed8f397 /src/message.h | |
| parent | attributes (diff) | |
| download | coopgammad-0c0d0ca0da8060484ab5f41a6ee73087755a69e3.tar.gz coopgammad-0c0d0ca0da8060484ab5f41a6ee73087755a69e3.tar.bz2 coopgammad-0c0d0ca0da8060484ab5f41a6ee73087755a69e3.tar.xz | |
Restructure
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | src/types/message.h (renamed from src/message.h) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/message.h b/src/types/message.h index 15a9330..00a2a50 100644 --- a/src/message.h +++ b/src/types/message.h @@ -15,6 +15,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef TYPES_MESSAGE_H +#define TYPES_MESSAGE_H + + #include <stddef.h> #include <limits.h> @@ -151,3 +155,6 @@ size_t message_unmarshal(struct message* restrict this, const void* restrict buf GCC_ONLY(__attribute__((nonnull))) int message_read(struct message* restrict this, int fd); + +#endif + |
