aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/typedef-info.c9
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>" },