diff options
| author | David M. Syzdek <david@syzdek.net> | 2013-12-05 15:07:53 -0900 |
|---|---|---|
| committer | David M. Syzdek <syzdek@bindlebinaries.com> | 2013-12-05 15:16:21 -0900 |
| commit | fb4986fa94931128fbabae741dcf1c73046f63ab (patch) | |
| tree | 6e41481fb40d6afbe1186d119432a28576809aa5 | |
| parent | 765c90c62f3548884e2618626071ca86c2111368 (diff) | |
| download | dmstools-fb4986fa94931128fbabae741dcf1c73046f63ab.tar.gz dmstools-fb4986fa94931128fbabae741dcf1c73046f63ab.tar.bz2 dmstools-fb4986fa94931128fbabae741dcf1c73046f63ab.tar.xz dmstools-fb4986fa94931128fbabae741dcf1c73046f63ab.zip | |
Removing typedefs from typedef-info.
Signed-off-by: David M. Syzdek <syzdek@bindlebinaries.com>
| -rw-r--r-- | src/typedef-info.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/typedef-info.c b/src/typedef-info.c index 1d80697..0925a77 100644 --- a/src/typedef-info.c +++ b/src/typedef-info.c | |||
| @@ -108,6 +108,7 @@ | |||
| 108 | //#include <utmp.h> | 108 | //#include <utmp.h> |
| 109 | //#include <argp.h> | 109 | //#include <argp.h> |
| 110 | //#include <gconv.h> | 110 | //#include <gconv.h> |
| 111 | #include <wctype.h> | ||
| 111 | 112 | ||
| 112 | 113 | ||
| 113 | /////////////////// | 114 | /////////////////// |
| @@ -249,7 +250,7 @@ int main(int argc, char * argv[]) | |||
| 249 | struct my_data ** list; | 250 | struct my_data ** list; |
| 250 | static struct my_data data[] = | 251 | static struct my_data data[] = |
| 251 | { | 252 | { |
| 252 | { "DIR", sizeof(DIR), -1, "<dirent.h>" }, | 253 | // { "DIR", sizeof(DIR), -1, "<dirent.h>" }, |
| 253 | { "FILE", sizeof(FILE), -1, "<stdio.h>" }, | 254 | { "FILE", sizeof(FILE), -1, "<stdio.h>" }, |
| 254 | { "NULL", sizeof(NULL), -1, "<stddef.h>" }, | 255 | { "NULL", sizeof(NULL), -1, "<stddef.h>" }, |
| 255 | { "VISIT", sizeof(VISIT), -1, "<search.h>" }, | 256 | { "VISIT", sizeof(VISIT), -1, "<search.h>" }, |
| @@ -285,7 +286,7 @@ int main(int argc, char * argv[]) | |||
| 285 | { "imaxdiv_t", sizeof(imaxdiv_t), -1, "<stdlib.h>" }, | 286 | { "imaxdiv_t", sizeof(imaxdiv_t), -1, "<stdlib.h>" }, |
| 286 | { "in_addr_t", sizeof(in_addr_t), 0, "<arpa/inet.h>" }, | 287 | { "in_addr_t", sizeof(in_addr_t), 0, "<arpa/inet.h>" }, |
| 287 | { "in_port_t", sizeof(in_port_t), 0, "<arpa/inet.h>" }, | 288 | { "in_port_t", sizeof(in_port_t), 0, "<arpa/inet.h>" }, |
| 288 | { "ino64_t", sizeof(ino64_t), -1, "<sys/types.h>" }, | 289 | // { "ino64_t", sizeof(ino64_t), -1, "<sys/types.h>" }, |
| 289 | { "ino_t", sizeof(ino_t), -1, "<sys/types.h>" }, | 290 | { "ino_t", sizeof(ino_t), -1, "<sys/types.h>" }, |
| 290 | { "int", sizeof(int), 1, "libc" }, | 291 | { "int", sizeof(int), 1, "libc" }, |
| 291 | { "int16_t", sizeof(int16_t), 1, "<inttypes.h>" }, | 292 | { "int16_t", sizeof(int16_t), 1, "<inttypes.h>" }, |
| @@ -370,7 +371,7 @@ int main(int argc, char * argv[]) | |||
| 370 | { "struct rusage", sizeof(struct rusage), -1, "<sys/resource.h>" }, | 371 | { "struct rusage", sizeof(struct rusage), -1, "<sys/resource.h>" }, |
| 371 | { "struct sched_param", sizeof(struct sched_param), -1, "<sched.h>" }, | 372 | { "struct sched_param", sizeof(struct sched_param), -1, "<sched.h>" }, |
| 372 | { "struct servent", sizeof(struct servent), -1, "<netdb.h>" }, | 373 | { "struct servent", sizeof(struct servent), -1, "<netdb.h>" }, |
| 373 | { "struct sgttyb", sizeof(struct sgttyb), -1, "<sgtty.h>" }, | 374 | // { "struct sgttyb", sizeof(struct sgttyb), -1, "<sgtty.h>" }, |
| 374 | { "struct sigaction", sizeof(struct sigaction), -1, "<signal.h>" }, | 375 | { "struct sigaction", sizeof(struct sigaction), -1, "<signal.h>" }, |
| 375 | { "struct sigstack", sizeof(struct sigstack), -1, "<signal.h>" }, | 376 | { "struct sigstack", sizeof(struct sigstack), -1, "<signal.h>" }, |
| 376 | { "struct sigvec", sizeof(struct sigvec), -1, "<signal.h>" }, | 377 | { "struct sigvec", sizeof(struct sigvec), -1, "<signal.h>" }, |
| @@ -379,7 +380,7 @@ int main(int argc, char * argv[]) | |||
| 379 | { "struct sockaddr_in6", sizeof(struct sockaddr_in6), -1, "<netinet/in.h>" }, | 380 | { "struct sockaddr_in6", sizeof(struct sockaddr_in6), -1, "<netinet/in.h>" }, |
| 380 | { "struct sockaddr_un", sizeof(struct sockaddr_un), -1, "<sys/un.h>" }, | 381 | { "struct sockaddr_un", sizeof(struct sockaddr_un), -1, "<sys/un.h>" }, |
| 381 | { "struct stat", sizeof(struct stat), -1, "<sys/stat.h>" }, | 382 | { "struct stat", sizeof(struct stat), -1, "<sys/stat.h>" }, |
| 382 | { "struct stat64", sizeof(struct stat64), -1, "<sys/stat.h>" }, | 383 | // { "struct stat64", sizeof(struct stat64), -1, "<sys/stat.h>" }, |
| 383 | { "struct termios", sizeof(struct termios), -1, "<termios.h>" }, | 384 | { "struct termios", sizeof(struct termios), -1, "<termios.h>" }, |
| 384 | { "struct timespec", sizeof(struct timespec), -1, "<sys/time.h>" }, | 385 | { "struct timespec", sizeof(struct timespec), -1, "<sys/time.h>" }, |
| 385 | { "struct timeval", sizeof(struct timeval), -1, "<sys/time.h>" }, | 386 | { "struct timeval", sizeof(struct timeval), -1, "<sys/time.h>" }, |
