From: Martin Ling Date: Sun, 5 Jan 2020 14:53:09 +0000 (+0000) Subject: Release examples as public domain. X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=ee12a01e52c19909b93ef4e23395a3374797d41e;p=libserialport.git Release examples as public domain. --- diff --git a/examples/Makefile b/examples/Makefile index c9ac40f..e533e62 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,3 +1,7 @@ +# A simple Makefile to build the examples in this directory. +# +# This example file is released to the public domain. + CC = gcc PKG_CONFIG = pkg-config CFLAGS = -g -Wall $(shell $(PKG_CONFIG) --cflags libserialport) diff --git a/examples/README b/examples/README index 1b8d2fe..3933abc 100644 --- a/examples/README +++ b/examples/README @@ -22,3 +22,5 @@ paths in your environment to suit your system. You can also build these examples using any other compiler, IDE or build system. You just need the libserialport.h header available to compile them, and the libserialport library available to link and run them. + +These example files are hereby released into the public domain by the author. diff --git a/examples/list_ports.c b/examples/list_ports.c index b8ff863..ab72aec 100644 --- a/examples/list_ports.c +++ b/examples/list_ports.c @@ -1,7 +1,9 @@ #include #include -/* Example of how to get a list of serial ports on the system. */ +/* Example of how to get a list of serial ports on the system. + * + * This example file is released to the public domain. */ int main(int argc, char **argv) { diff --git a/examples/port_info.c b/examples/port_info.c index 2c3fda6..0bc1ee3 100644 --- a/examples/port_info.c +++ b/examples/port_info.c @@ -1,7 +1,9 @@ #include #include -/* Example of how to get information about a serial port. */ +/* Example of how to get information about a serial port. + * + * This example file is released to the public domain. */ int main(int argc, char **argv) {