]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - backend/test1284.c
Off by one error in ipp_finishings_vendor
[thirdparty/cups.git] / backend / test1284.c
index bbb4f2c3f46a4eae0afc0db81d81f165119cc766..2da1086500ae5a8164f1f8348cf87f802bd69639 100644 (file)
@@ -1,42 +1,25 @@
 /*
- * "$Id: test1284.c 6649 2007-07-11 21:46:42Z mike $"
+ * IEEE-1284 support functions test program for CUPS.
  *
- *   IEEE-1284 support functions test program for the Common UNIX Printing
- *   System (CUPS).
+ * Copyright © 2007-2010 by Apple Inc.
+ * Copyright © 1997-2006 by Easy Software Products, all rights reserved.
  *
- *   Copyright 2007 by Apple Inc.
- *   Copyright 1997-2006 by Easy Software Products, all rights reserved.
- *
- *   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"
- *   "LICENSE" which should have been included with this file.  If this
- *   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() - Test the device-ID functions.
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more
+ * information.
  */
 
 /*
  * Include necessary headers.
  */
 
-#include <cups/string.h>
-#include <stdlib.h>
-#include <errno.h>
-#ifdef WIN32
+#include <cups/string-private.h>
+#ifdef _WIN32
 #  include <io.h>
 #else
 #  include <unistd.h>
 #  include <fcntl.h>
-#endif /* WIN32 */
+#endif /* _WIN32 */
 
-#ifndef DEBUG
-#  define DEBUG
-#endif /* !DEBUG */
 #include "ieee1284.c"
 
 
@@ -83,8 +66,3 @@ main(int  argc,                               /* I - Number of command-line args */
 
   return (0);
 }
-
-
-/*
- * End of "$Id: test1284.c 6649 2007-07-11 21:46:42Z mike $".
- */