Skip to content

tunslip6: gettimeofday needs sys/time.6#11

Open
agx wants to merge 1 commit into
osdomotics:masterfrom
agx:tunslip-warn
Open

tunslip6: gettimeofday needs sys/time.6#11
agx wants to merge 1 commit into
osdomotics:masterfrom
agx:tunslip-warn

Conversation

@agx

@agx agx commented Jan 16, 2017

Copy link
Copy Markdown

This fixes:

$ make tunslip6
cc tunslip6.c tools-utils.c -o tunslip6
tunslip6.c: In function ‘stamptime’:
tunslip6.c:134:3: warning: implicit declaration of function
‘gettimeofday’ [-Wimplicit-function-declaration]
gettimeofday(&tv, NULL) ;
^~~~~~~~~~~~

This fixes:

  $ make tunslip6
  cc     tunslip6.c tools-utils.c   -o tunslip6
  tunslip6.c: In function ‘stamptime’:
  tunslip6.c:134:3: warning: implicit declaration of function
  ‘gettimeofday’ [-Wimplicit-function-declaration]
     gettimeofday(&tv, NULL) ;
     ^~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant