Ticket #74 (closed enhancement: fixed)
Opened 3 years ago
Last modified 18 months ago
[PATCH] Do not include useless pthread.h
| Reported by: | ludovicrousseau | Owned by: | Ludovic Rousseau <rousseau@…> |
|---|---|---|---|
| Milestone: | Component: | libusb-1.0 | |
| Keywords: | Cc: | ||
| Blocked By: | Blocks: |
Description
The code do not use threads so no need to #include <pthread.h>
Attachments
Change History
Changed 3 years ago by ludovicrousseau
comment:1 Changed 3 years ago by ludovicrousseau
comment:2 Changed 3 years ago by segher
This looks okay. Did you check that the resulting binary is
identical?
comment:3 Changed 3 years ago by ludovicrousseau
No. I did not checked the resulting binary is identical.
comment:4 Changed 2 years ago by ludovicrousseau
I compared the resulting binaries. They are different.
I also compared the .S source files (generated using make CC="gcc -E") and they are identical except for the included headers.
comment:5 Changed 21 months ago by Ludovic Rousseau <rousseau@…>
comment:6 Changed 18 months ago by Ludovic Rousseau <rousseau@…>
- Owner set to Ludovic Rousseau <rousseau@…>
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
This is a new iteration of ticket #71: Remove useless #include