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:
Uwe Hermann 2012-01-03 19:56:01 +01:00
parent 3b7c8f54fc
commit cd315a80d8
15 changed files with 24 additions and 24 deletions

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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,

View File

@ -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;

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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"