Put all defines before include.
Benjamin Drung
10 years ago
13 | 13 |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
14 | 14 |
*/
|
15 | 15 |
|
16 | |
// C standard libraries
|
17 | |
#include <stdlib.h>
|
18 | |
|
19 | 16 |
#define DEBIAN
|
20 | |
|
21 | |
#include "distro-info-util.h"
|
22 | |
|
23 | 17 |
#define CSV_NAME "debian"
|
24 | 18 |
#define CSV_HEADER "version,codename,series,created,release,eol"
|
25 | 19 |
#define DISTRO_NAME "Debian"
|
26 | 20 |
#define NAME "debian-distro-info"
|
|
21 |
|
|
22 |
// C standard libraries
|
|
23 |
#include <stdlib.h>
|
|
24 |
|
|
25 |
#include "distro-info-util.h"
|
27 | 26 |
|
28 | 27 |
static bool filter_devel(const date_t *date, const distro_t *distro) {
|
29 | 28 |
return created(date, distro) && !released(date, distro) &&
|
13 | 13 |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
14 | 14 |
*/
|
15 | 15 |
|
16 | |
// C standard libraries
|
17 | |
#include <string.h>
|
18 | |
|
19 | 16 |
#define UBUNTU
|
20 | |
|
21 | |
#include "distro-info-util.h"
|
22 | |
|
23 | 17 |
#define CSV_NAME "ubuntu"
|
24 | 18 |
#define CSV_HEADER "version,codename,series,created,release,eol,eol-server"
|
25 | 19 |
#define DISTRO_NAME "Ubuntu"
|
26 | 20 |
#define NAME "ubuntu-distro-info"
|
|
21 |
|
|
22 |
// C standard libraries
|
|
23 |
#include <string.h>
|
|
24 |
|
|
25 |
#include "distro-info-util.h"
|
27 | 26 |
|
28 | 27 |
static bool filter_devel(const date_t *date, const distro_t *distro) {
|
29 | 28 |
return created(date, distro) && !released(date, distro);
|