Add some missing copyright notices
[jansson.git] / test / testprogs / util.h
1 /*
2  * Copyright (c) 2009 Petri Lehtinen <petri@digip.org>
3  *
4  * Jansson is free software; you can redistribute it and/or modify
5  * it under the terms of the MIT license. See LICENSE for details.
6  */
7
8 #ifndef TESTPROGS_UTIL_H
9 #define TESTPROGS_UTIL_H
10
11 #define fail(msg)                                                \
12     do {                                                         \
13         fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, msg); \
14         return 1;                                                \
15     } while(0)
16
17 #endif