Codebase list distro-info / 024830f
Put all defines before include. Benjamin Drung 10 years ago
2 changed file(s) with 10 addition(s) and 12 deletion(s). Raw diff Collapse all Expand all
1313 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1414 */
1515
16 // C standard libraries
17 #include <stdlib.h>
18
1916 #define DEBIAN
20
21 #include "distro-info-util.h"
22
2317 #define CSV_NAME "debian"
2418 #define CSV_HEADER "version,codename,series,created,release,eol"
2519 #define DISTRO_NAME "Debian"
2620 #define NAME "debian-distro-info"
21
22 // C standard libraries
23 #include <stdlib.h>
24
25 #include "distro-info-util.h"
2726
2827 static bool filter_devel(const date_t *date, const distro_t *distro) {
2928 return created(date, distro) && !released(date, distro) &&
1313 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1414 */
1515
16 // C standard libraries
17 #include <string.h>
18
1916 #define UBUNTU
20
21 #include "distro-info-util.h"
22
2317 #define CSV_NAME "ubuntu"
2418 #define CSV_HEADER "version,codename,series,created,release,eol,eol-server"
2519 #define DISTRO_NAME "Ubuntu"
2620 #define NAME "ubuntu-distro-info"
21
22 // C standard libraries
23 #include <string.h>
24
25 #include "distro-info-util.h"
2726
2827 static bool filter_devel(const date_t *date, const distro_t *distro) {
2928 return created(date, distro) && !released(date, distro);