kldxref.c (9c6f92408c29a8980e7aec26a2590087c3b3d8ed) kldxref.c (87e5cd7c1ab9ab0a75e0e24689f135cdfbdae104)
1/*
2 * Copyright (c) 2000, Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 67 unchanged lines hidden (view full) ---

76
77SLIST_HEAD(kld_list_head, kld_info) kldlist;
78#endif
79
80static int dflag, verbose;
81
82FILE *fxref;
83
1/*
2 * Copyright (c) 2000, Boris Popov
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 67 unchanged lines hidden (view full) ---

76
77SLIST_HEAD(kld_list_head, kld_info) kldlist;
78#endif
79
80static int dflag, verbose;
81
82FILE *fxref;
83
84static char *xref_file = "linker.hints";
84static const char *xref_file = "linker.hints";
85
86static char recbuf[MAXRECSIZE];
87static int recpos, reccnt;
88
85
86static char recbuf[MAXRECSIZE];
87static int recpos, reccnt;
88
89void maketempfile(char *, const char *);
89static void usage(void);
90
91static void
92intalign(void)
93{
94 recpos = (recpos + sizeof(int) - 1) & ~(sizeof(int) - 1);
95}
96

--- 250 unchanged lines hidden ---
90static void usage(void);
91
92static void
93intalign(void)
94{
95 recpos = (recpos + sizeof(int) - 1) & ~(sizeof(int) - 1);
96}
97

--- 250 unchanged lines hidden ---