summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael R Sweet <michaelrsweet@gmail.com>2016-04-11 20:28:30 -0400
committerMichael R Sweet <michaelrsweet@gmail.com>2016-04-11 20:28:30 -0400
commit503b54c9302c8de6207e079a80a89a787eb612ea (patch)
treeecd089feea134385d580d6e5a2af147ddb47be64 /examples
parente34d1ec4b926b3d31cfc00408faf99e69aa48ce8 (diff)
downloadcups-503b54c9302c8de6207e079a80a89a787eb612ea.tar.gz
Remove all of the Subversion keywords from various source files.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile23
-rw-r--r--examples/ppdx.c32
-rw-r--r--examples/ppdx.h23
-rw-r--r--examples/testppdx.c31
4 files changed, 36 insertions, 73 deletions
diff --git a/examples/Makefile b/examples/Makefile
index da08298b3..47ba04c07 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,16 +1,14 @@
#
-# "$Id$"
+# PPD compiler example makefile for CUPS.
#
-# PPD compiler example makefile for CUPS.
+# Copyright 2007-2011 by Apple Inc.
+# Copyright 2002-2005 by Easy Software Products.
#
-# Copyright 2007-2011 by Apple Inc.
-# Copyright 2002-2005 by Easy Software Products.
-#
-# These coded instructions, statements, and computer programs are the
-# property of Apple Inc. and are protected by Federal copyright
-# law. Distribution and use rights are outlined in the file "LICENSE.txt"
-# which should have been included with this file. If this file is
-# file is missing or damaged, see the license at "http://www.cups.org/".
+# These coded instructions, statements, and computer programs are the
+# property of Apple Inc. and are protected by Federal copyright
+# law. Distribution and use rights are outlined in the file "LICENSE.txt"
+# which should have been included with this file. If this file is
+# file is missing or damaged, see the license at "http://www.cups.org/".
#
#
@@ -121,8 +119,3 @@ uninstall:
$(RM) $(DATADIR)/examples/$$file; \
done
-$(RMDIR) $(DATADIR)/examples
-
-
-#
-# End of "$Id$".
-#
diff --git a/examples/ppdx.c b/examples/ppdx.c
index 61588cad1..ec93d63ac 100644
--- a/examples/ppdx.c
+++ b/examples/ppdx.c
@@ -1,24 +1,17 @@
/*
- * "$Id$"
+ * Example code for encoding and decoding large amounts of data in a PPD file.
+ * This would typically be used in a driver to save configuration/state
+ * information that could be used by an application.
*
- * Example code for encoding and decoding large amounts of data in a PPD file.
- * This would typically be used in a driver to save configuration/state
- * information that could be used by an application.
+ * Copyright 2012 by Apple Inc.
*
- * Copyright 2012 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * ppdxReadData() - Read encoded data from a ppd_file_t *.
- * ppdxWriteData() - Writes encoded data to stderr using PPD: messages.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
@@ -307,8 +300,3 @@ ppdxWriteData(const char *name, /* I - Base name of keyword */
fputs(line, stderr);
}
-
-
-/*
- * End of "$Id$".
- */
diff --git a/examples/ppdx.h b/examples/ppdx.h
index 1be6928da..c50308739 100644
--- a/examples/ppdx.h
+++ b/examples/ppdx.h
@@ -1,18 +1,15 @@
/*
- * "$Id$"
+ * Header for PPD data encoding example code.
*
- * Header for PPD data encoding example code.
+ * Copyright 2012 by Apple Inc.
*
- * Copyright 2012 by Apple Inc.
- *
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
+ * This file is subject to the Apple OS-Developed Software exception.
*/
#ifndef _PPDX_H_
@@ -76,7 +73,3 @@ extern void ppdxWriteData(const char *name, const void *data,
# endif /* __cplusplus */
#endif /* !_PPDX_H */
-
-/*
- * End of "$Id$".
- */
diff --git a/examples/testppdx.c b/examples/testppdx.c
index f1c168688..cbaaee29d 100644
--- a/examples/testppdx.c
+++ b/examples/testppdx.c
@@ -1,25 +1,19 @@
/*
- * "$Id$"
+ * Test program for PPD data encoding example code.
*
- * Test program for PPD data encoding example code.
+ * Compile with:
*
- * Compile with:
+ * gcc -o testppdx -D_PPD_DEPRECATED="" -g testppdx.c ppdx.c -lcups -lz
*
- * gcc -o testppdx -D_PPD_DEPRECATED="" -g testppdx.c ppdx.c -lcups -lz
+ * Copyright 2012 by Apple Inc.
*
- * Copyright 2012 by Apple Inc.
+ * These coded instructions, statements, and computer programs are the
+ * property of Apple Inc. and are protected by Federal copyright
+ * law. Distribution and use rights are outlined in the file "LICENSE.txt"
+ * which should have been included with this file. If this file is
+ * file is missing or damaged, see the license at "http://www.cups.org/".
*
- * These coded instructions, statements, and computer programs are the
- * property of Apple Inc. and are protected by Federal copyright
- * law. Distribution and use rights are outlined in the file "LICENSE.txt"
- * which should have been included with this file. If this file is
- * file is missing or damaged, see the license at "http://www.cups.org/".
- *
- * This file is subject to the Apple OS-Developed Software exception.
- *
- * Contents:
- *
- * main() - Read data from a test PPD file and write out new chunks.
+ * This file is subject to the Apple OS-Developed Software exception.
*/
/*
@@ -110,8 +104,3 @@ main(void)
return (1);
}
-
-
-/*
- * End of "$Id$".
- */