kldxref.c (50c64df2a1739dca84c0e3bc795b70e5991b7010) | kldxref.c (968bcca262a2ea8025924fe10e449bf89caf74bc) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-4-Clause 3 * 4 * Copyright (c) 2000, Boris Popov 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 37 unchanged lines hidden (view full) --- 46#include <gelf.h> 47#include <libelf.h> 48#include <stdbool.h> 49#include <stdio.h> 50#include <stdlib.h> 51#include <string.h> 52#include <unistd.h> 53 | 1/*- 2 * SPDX-License-Identifier: BSD-4-Clause 3 * 4 * Copyright (c) 2000, Boris Popov 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 37 unchanged lines hidden (view full) --- 46#include <gelf.h> 47#include <libelf.h> 48#include <stdbool.h> 49#include <stdio.h> 50#include <stdlib.h> 51#include <string.h> 52#include <unistd.h> 53 |
54#include "ef.h" | 54#include <kldelf.h> |
55 56#define MAXRECSIZE (64 << 10) /* 64k */ 57#define check(val) if ((error = (val)) != 0) break 58 59static bool dflag; /* do not create a hint file, only write on stdout */ 60static int verbose; 61 62static FILE *fxref; /* current hints file */ --- 790 unchanged lines hidden --- | 55 56#define MAXRECSIZE (64 << 10) /* 64k */ 57#define check(val) if ((error = (val)) != 0) break 58 59static bool dflag; /* do not create a hint file, only write on stdout */ 60static int verbose; 61 62static FILE *fxref; /* current hints file */ --- 790 unchanged lines hidden --- |