mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
Elfutils is a collection of utilities, including: stack (to show backtraces); nm (for listing symbols from object files); size (for listing the section sizes of an object or archive file); strip (for discarding symbols); readelf (to see the raw ELF file structures); elflint (to check for well-formed ELF files); and elfcompress (to compress or decompress ELF sections). It also provides libraries to allow other programs to manipulate ELF and DWARF data. WWW: https://fedorahosted.org/elfutils/ Reviewed by: bdrewery Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D7206
19 lines
344 B
C
19 lines
344 B
C
--- lib/stdio_ext.h.orig 2016-07-13 06:58:54 UTC
|
|
+++ lib/stdio_ext.h
|
|
@@ -0,0 +1,16 @@
|
|
+#pragma once
|
|
+#include <stdio.h>
|
|
+
|
|
+enum {
|
|
+ FSETLOCKING_QUERY,
|
|
+ FSETLOCKING_INTERNAL,
|
|
+ FSETLOCKING_BYCALLER,
|
|
+};
|
|
+
|
|
+static inline int
|
|
+__fsetlocking(FILE *fp __unused, int type __unused)
|
|
+{
|
|
+
|
|
+ /* No-op on FreeBSD? */
|
|
+ return (FSETLOCKING_BYCALLER);
|
|
+}
|