]> arthur.barton.de Git - netatalk.git/blobdiff - etc/papd/headers.c
sys/syslog.h -> syslog.h
[netatalk.git] / etc / papd / headers.c
index 0b5dfc36150357026765ab8d0b36a1feee78be3e..2c34081f3fd91c41be18d0d193c381aaf0ef028e 100644 (file)
@@ -1,21 +1,31 @@
 /*
+ * $Id: headers.c,v 1.7.2.1 2002-03-12 15:44:38 srittau Exp $
+ *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
  */
 
-#include <sys/syslog.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h" 
+#endif /* HAVE_CONFIG_H */
+
+#include <syslog.h>
 #include <sys/param.h>
 #include <stdio.h>
 
+#include <netatalk/at.h>
+
 #include "file.h"
 #include "comment.h"
+#include "lp.h"
+
+int ch_title( struct papfile *, struct papfile * );
 
-ch_title( in, out )
+int ch_title( in, out )
     struct papfile     *in, *out;
 {
     char               *start, *stop, *p, *q, c;
     int                        linelength, crlflength;
-    struct comment     *comment = compeek();
 
     switch ( markline( in, &start, &linelength, &crlflength )) {
     case 0 :
@@ -61,7 +71,7 @@ ch_title( in, out )
 /*
  * "Header" comments.
  */
-struct comment headers[] = {
+struct papd_comment    headers[] = {
     { "%%Title:",                      0,              ch_title,       0 },
     { 0 },
 };