libinstaller: Use SOURCE_DATE_EPOCH for synthesized modification time stamps
[syslinux.git] / com32 / samples / hello.c
blobd3d4d2998b4e6fa7a735d2a547cc245cd55f38dc
1 /*
2 * hello.c - A simple ELF module that sorts a couple of numbers
4 * Created on: Aug 11, 2008
5 * Author: Stefan Bucur <stefanb@zytor.com>
6 */
8 #include <stdio.h>
9 #include <stdlib.h>
11 #include "sort.h"
13 #define NUM_COUNT 10
14 #define MAX_NUM 100
16 int main(int argc __unused, char **argv __unused)
18 int *nums = NULL;
20 nums = malloc(NUM_COUNT * sizeof(int));
21 printf("Hello, world, from 0x%08X! malloc return %p\n", (unsigned int)&main, nums);
23 free(nums);
25 return 0;