Skip to content

Commit

Permalink
Moved location of lxi.h
Browse files Browse the repository at this point in the history
  • Loading branch information
lundmar committed Mar 30, 2016
1 parent 8633082 commit f58d8a2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@
$ make
$ make install


4. API usage

Here is a simple code example on how to use the liblxi API:

#include <stdio.h>
#include <string.h>
#include <lxi/lxi.h>
#include <lxi.h>

int main()
{
Expand Down
6 changes: 3 additions & 3 deletions src/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
lib_LTLIBRARIES = liblxi.la

liblxidir = $(includedir)/lxi
liblxi_HEADERS = include/lxi/lxi.h
liblxidir = $(includedir)
liblxi_HEADERS = include/lxi.h

liblxi_la_SOURCES = \
lxi.c \
Expand All @@ -10,7 +10,7 @@ liblxi_la_SOURCES = \
vxi11core_xdr.c \
include/vxi11core.h \
include/list.h \
include/lxi/lxi.h
include/lxi.h

liblxi_la_CFLAGS = -I$(top_srcdir)/include

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/lxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <pthread.h>
#include "vxi11core.h"
#include "list.h"
#include <lxi/lxi.h>
#include <lxi.h>

#define RPC_PORT 111
#define ID_REQ_STRING "*IDN?\n"
Expand Down

0 comments on commit f58d8a2

Please sign in to comment.