]> git.proxmox.com Git - mirror_qemu.git/commitdiff
bsd-user: Remove last_brk
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 4 Aug 2023 16:33:58 +0000 (09:33 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 6 Aug 2023 23:46:13 +0000 (16:46 -0700)
This variable is unused.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/mmap.c
bsd-user/qemu.h

index b62a69bd07550051bd2357ce31f6d9870e7987ca..8e148a2ea3e24f4290ad109b3f48dcebea12af6a 100644 (file)
@@ -214,8 +214,6 @@ static int mmap_frag(abi_ulong real_start,
 #endif
 abi_ulong mmap_next_start = TASK_UNMAPPED_BASE;
 
-unsigned long last_brk;
-
 /*
  * Subroutine of mmap_find_vma, used when we have pre-allocated a chunk of guest
  * address space.
index edf9602f9b0380fc86abdc5580997c56188b34a5..8f2d6a3c78b474c737736980714523e826c4e6a8 100644 (file)
@@ -232,7 +232,6 @@ abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size,
                        abi_ulong new_size, unsigned long flags,
                        abi_ulong new_addr);
 int target_msync(abi_ulong start, abi_ulong len, int flags);
-extern unsigned long last_brk;
 extern abi_ulong mmap_next_start;
 abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size);
 void TSA_NO_TSA mmap_fork_start(void);