libsigrok  0.5.2
sigrok hardware access and backend library
driver_list_stop.c
Go to the documentation of this file.
1 /*
2  * This file is part of the libsigrok project.
3  *
4  * Copyright (C) 2017 Marcus Comstedt <marcus@mc.pp.se>
5  *
6  * This program is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #include <config.h>
21 #include <glib.h>
22 #include <libsigrok/libsigrok.h>
23 #include "libsigrok-internal.h"
24 
25 /*
26  * This marks the end of the driver list. This file must be linked
27  * after any actual drivers.
28  */
29 
30 SR_PRIV const struct sr_dev_driver *sr_driver_list__stop[]
31  __attribute__((section (SR_DRIVER_LIST_SECTION),
32  used, aligned(sizeof(struct sr_dev_driver *))))
33  = { NULL /* Dummy item, as zero length arrays are not allowed by C99 */ };
SR_PRIV const struct sr_dev_driver *sr_driver_list__stop[] __attribute__((section(SR_DRIVER_LIST_SECTION), used, aligned(sizeof(struct sr_dev_driver *))))
The public libsigrok header file to be used by frontends.
#define SR_PRIV
Definition: libsigrok.h:128
Device driver data.
Definition: libsigrok.h:1138