Skip to content

Commit

Permalink
include: Move utils.h out of the public headers directory
Browse files Browse the repository at this point in the history
This makes it more explicit that the microdns/ directory is for public
headers only
  • Loading branch information
chouquette committed Feb 5, 2020
1 parent 87e6b72 commit f9055ad
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion compat/compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <string.h>

#include "compat.h"
#include "microdns/utils.h"
#include "utils.h"

#if defined (__unix__) || defined (__APPLE__)
struct timeval os_deadline = {
Expand Down
2 changes: 1 addition & 1 deletion compat/inet.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <string.h>

#include "compat.h"
#include "microdns/utils.h"
#include "utils.h"

#if defined (_WIN32) && !defined(HAVE_INET_NTOP)
const char *
Expand Down
2 changes: 1 addition & 1 deletion compat/poll.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <string.h>

#include "compat.h"
#include "microdns/utils.h"
#include "utils.h"

#ifndef HAVE_POLL
int poll(struct pollfd *fds, unsigned nfds, int timeout)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/mdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <stdint.h>

#include "compat.h"
#include "microdns/utils.h"
#include "utils.h"
#include "microdns/microdns.h"

#define MDNS_PKT_MAXSZ 4096 // read/write buffer size
Expand Down
2 changes: 1 addition & 1 deletion src/rr.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <stdlib.h>
#include <stdint.h>

#include "microdns/utils.h"
#include "utils.h"
#include "microdns/microdns.h"
#include "microdns/rr.h"

Expand Down

0 comments on commit f9055ad

Please sign in to comment.