Skip to content

Commit

Permalink
Remove ftime from libcompat because we already have it in libutil.
Browse files Browse the repository at this point in the history
fix icnlude in sys/sys/timeb.h
  • Loading branch information
laffer1 committed Nov 22, 2024
1 parent 44cc52c commit fca858b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 140 deletions.
80 changes: 0 additions & 80 deletions lib/libcompat/4.1/ftime.3

This file was deleted.

52 changes: 0 additions & 52 deletions lib/libcompat/4.1/ftime.c

This file was deleted.

7 changes: 1 addition & 6 deletions lib/libcompat/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ NO_PIC=

WARNS?= 0

.PATH: ${.CURDIR}/4.1 ${.CURDIR}/4.3 ${.CURDIR}/4.4

# compat 4.1 sources
SRCS+= ftime.c

MAN+= 4.1/ftime.3
.PATH: ${.CURDIR}/4.3 ${.CURDIR}/4.4

# compat 4.3 sources
SRCS+= re_comp.c rexec.c
Expand Down
1 change: 0 additions & 1 deletion lib/libutil/ftime.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/time.h>

Expand Down
2 changes: 1 addition & 1 deletion sys/sys/timeb.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#ifndef _SYS_TIMEB_H_
#define _SYS_TIMEB_H_

#ifdef __GNUC__
#if defined(__GNUC__) && !defined(_IN_LIBUITL)
#warning "this file includes <sys/timeb.h> which is deprecated"
#endif

Expand Down

0 comments on commit fca858b

Please sign in to comment.