demo.c (46edbc545d1d0ae166271488e89c9967fb54393f) | demo.c (54841ab50c20d6fa6c9cc3eb826989da3a22d934) |
---|---|
1/* 2 * (C) Copyright 2007-2008 Semihalf 3 * 4 * Written by: Rafal Jaworowski <raj@semihalf.com> 5 * 6 * See file CREDITS for list of people who contributed to this 7 * project. 8 * --- 27 unchanged lines hidden (view full) --- 36 37void test_dump_buf(void *, int); 38void test_dump_di(int); 39void test_dump_si(struct sys_info *); 40void test_dump_sig(struct api_signature *); 41 42static char buf[BUF_SZ]; 43 | 1/* 2 * (C) Copyright 2007-2008 Semihalf 3 * 4 * Written by: Rafal Jaworowski <raj@semihalf.com> 5 * 6 * See file CREDITS for list of people who contributed to this 7 * project. 8 * --- 27 unchanged lines hidden (view full) --- 36 37void test_dump_buf(void *, int); 38void test_dump_di(int); 39void test_dump_si(struct sys_info *); 40void test_dump_sig(struct api_signature *); 41 42static char buf[BUF_SZ]; 43 |
44int main(int argc, char *argv[]) | 44int main(int argc, char * const argv[]) |
45{ 46 int rv = 0, h, i, j, devs_no; 47 struct api_signature *sig = NULL; 48 ulong start, now; 49 struct device_info *di; 50 lbasize_t rlen; 51 52 if (!api_search_sig(&sig)) --- 248 unchanged lines hidden --- | 45{ 46 int rv = 0, h, i, j, devs_no; 47 struct api_signature *sig = NULL; 48 ulong start, now; 49 struct device_info *di; 50 lbasize_t rlen; 51 52 if (!api_search_sig(&sig)) --- 248 unchanged lines hidden --- |