Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treewide: Include libqrtr.h as a global header #33

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/qmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <errno.h>
#include <libqrtr.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "libqrtr.h"
#include "logging.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/qrtr.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <libqrtr.h>
#include <linux/qrtr.h>
#include <unistd.h>
#include <stdlib.h>
Expand All @@ -9,7 +10,6 @@
#include <errno.h>
#include <poll.h>

#include "libqrtr.h"
#include "logging.h"
#include "ns.h"

Expand Down
2 changes: 1 addition & 1 deletion src/addr.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <err.h>
#include <errno.h>
#include <libqrtr.h>
#include <linux/qrtr.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
Expand All @@ -9,7 +10,6 @@
#include <sys/socket.h>
#include <unistd.h>

#include "libqrtr.h"
#include "logging.h"

void qrtr_set_address(uint32_t addr)
Expand Down
2 changes: 1 addition & 1 deletion src/cfg.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <err.h>
#include <errno.h>
#include <libgen.h>
#include <libqrtr.h>
#include <limits.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
Expand All @@ -13,7 +14,6 @@
#include <unistd.h>

#include "addr.h"
#include "libqrtr.h"
#include "logging.h"

static void usage(const char *progname)
Expand Down
2 changes: 1 addition & 1 deletion src/ns.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <err.h>
#include <errno.h>
#include <libqrtr.h>
#include <libgen.h>
#include <limits.h>
#include <linux/qrtr.h>
Expand All @@ -22,7 +23,6 @@
#include "util.h"
#include "waiter.h"

#include "libqrtr.h"
#include "logging.h"

static const char *ctrl_pkt_strings[] = {
Expand Down
Loading