]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/cupsfilter.c
Update man pages.
[thirdparty/cups.git] / scheduler / cupsfilter.c
index 2b30faaf11f0e1144eee0ce094d5a7c2ebd146c0..fa914d215adf10a03ab40a1ae06db2aeed18df86 100644 (file)
@@ -1,16 +1,10 @@
 /*
- * "$Id$"
- *
  * Filtering program for CUPS.
  *
- * Copyright 2007-2014 by Apple Inc.
+ * Copyright 2007-2016 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"
- * 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/".
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
  */
 
 /*
@@ -84,7 +78,7 @@ static int            open_pipe(int *fds);
 static int             read_cups_files_conf(const char *filename);
 static void            set_string(char **s, const char *val);
 static void            sighandler(int sig);
-static void            usage(const char *opt) __attribute__((noreturn));
+static void            usage(const char *opt) _CUPS_NORETURN;
 
 
 /*
@@ -178,7 +172,7 @@ main(int  argc,                             /* I - Number of command-line args */
        if (i < argc && !infile)
          infile = argv[i];
        else
-         usage(opt);
+         usage(NULL);
       }
       else
       {
@@ -822,7 +816,7 @@ exec_filter(const char *filter,             /* I - Filter to execute */
 
 
  /*
-  * Add special voodoo magic for MacOS X - this allows MacOS X
+  * Add special voodoo magic for macOS - this allows macOS
   * programs to access their bundle resources properly...
   */
 
@@ -1498,8 +1492,3 @@ usage(const char *opt)                    /* I - Incorrect option, if any */
 
   exit(1);
 }
-
-
-/*
- * End of "$Id$".
- */