sr/srd: Fix left-over #includes.
The libs themselves should use #include "sigrok.h" etc., while the frontends must use #include <sigrok.h> and so on.
This commit is contained in:
parent
3b7c8f54fc
commit
cd315a80d8
|
@ -17,7 +17,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
|
|
||||||
extern struct sr_input_format input_chronovu_la8;
|
extern struct sr_input_format input_chronovu_la8;
|
||||||
extern struct sr_input_format input_binary;
|
extern struct sr_input_format input_binary;
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
|
|
||||||
#define CHUNKSIZE 4096
|
#define CHUNKSIZE 4096
|
||||||
#define DEFAULT_NUM_PROBES 8
|
#define DEFAULT_NUM_PROBES 8
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
|
|
||||||
#define NUM_PACKETS 2048
|
#define NUM_PACKETS 2048
|
||||||
#define PACKET_SIZE 4096
|
#define PACKET_SIZE 4096
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
|
|
||||||
extern struct sr_output_format output_text_bits;
|
extern struct sr_output_format output_text_bits;
|
||||||
extern struct sr_output_format output_text_hex;
|
extern struct sr_output_format output_text_hex;
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#define DEFAULT_BPL_BITS 64
|
#define DEFAULT_BPL_BITS 64
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
static int data(struct sr_output *o, const char *data_in, uint64_t length_in,
|
static int data(struct sr_output *o, const char *data_in, uint64_t length_in,
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
|
|
||||||
struct context {
|
struct context {
|
||||||
unsigned int num_enabled_probes;
|
unsigned int num_enabled_probes;
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
struct context {
|
struct context {
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
struct context {
|
struct context {
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
struct context {
|
struct context {
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
struct context {
|
struct context {
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
|
|
||||||
int init_ascii(struct sr_output *o)
|
int init_ascii(struct sr_output *o)
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include <sigrok-internal.h>
|
#include "sigrok-internal.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
|
|
||||||
int init_bits(struct sr_output *o)
|
int init_bits(struct sr_output *o)
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
|
|
||||||
int init_hex(struct sr_output *o)
|
int init_hex(struct sr_output *o)
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <sigrok.h>
|
#include "sigrok.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "text.h"
|
#include "text.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue