]> sigrok.org Git - libsigrok.git/blobdiff - src/output/ols.c
uni-t-ut181a: silence compiler warning, use of uninitialized variable
[libsigrok.git] / src / output / ols.c
index 7feb4db96cad4c6f5ffcb8c2ef78a8a9575013b4..2129658a346deaa1a48abcd6aab20d1c4e103619 100644 (file)
@@ -15,8 +15,7 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
  * https://github.com/jawi/ols/wiki/OLS-data-file-format
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <string.h>
 #include <glib.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "output/ols"
@@ -149,7 +149,9 @@ static int cleanup(struct sr_output *o)
 SR_PRIV struct sr_output_module output_ols = {
        .id = "ols",
        .name = "OLS",
-       .desc = "OpenBench Logic Sniffer",
+       .desc = "OpenBench Logic Sniffer data",
+       .exts = (const char*[]){"ols", NULL},
+       .flags = 0,
        .options = NULL,
        .init = init,
        .receive = receive,