Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Mar 2014 01:20:43 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263201 - head/usr.bin/csup
Message-ID:  <201403150120.s2F1KhQS091135@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Mar 15 01:20:42 2014
New Revision: 263201
URL: http://svnweb.freebsd.org/changeset/base/263201

Log:
  Use the system queue.h instead of bundling its own.
  
  PR:		bin/187067
  Submitted by:	lulf

Deleted:
  head/usr.bin/csup/queue.h
Modified:
  head/usr.bin/csup/config.h
  head/usr.bin/csup/diff.c
  head/usr.bin/csup/fixups.c
  head/usr.bin/csup/fixups.h
  head/usr.bin/csup/keyword.c
  head/usr.bin/csup/proto.c
  head/usr.bin/csup/rcsfile.c
  head/usr.bin/csup/rcsparse.c
  head/usr.bin/csup/status.c
  head/usr.bin/csup/threads.c

Modified: head/usr.bin/csup/config.h
==============================================================================
--- head/usr.bin/csup/config.h	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/config.h	Sat Mar 15 01:20:42 2014	(r263201)
@@ -30,11 +30,11 @@
 
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <sys/queue.h>
 
 #include <time.h>
 
 #include "fattr.h"
-#include "queue.h"
 #include "misc.h"
 
 /*

Modified: head/usr.bin/csup/diff.c
==============================================================================
--- head/usr.bin/csup/diff.c	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/diff.c	Sat Mar 15 01:20:42 2014	(r263201)
@@ -26,6 +26,8 @@
  * $FreeBSD$
  */
 
+#include <sys/queue.h>
+
 #include <assert.h>
 #include <err.h>
 #include <errno.h>
@@ -38,7 +40,6 @@
 #include "keyword.h"
 #include "misc.h"
 #include "stream.h"
-#include "queue.h"
 
 typedef long lineno_t;
 

Modified: head/usr.bin/csup/fixups.c
==============================================================================
--- head/usr.bin/csup/fixups.c	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/fixups.c	Sat Mar 15 01:20:42 2014	(r263201)
@@ -26,6 +26,8 @@
  * $FreeBSD$
  */
 
+#include <sys/queue.h>
+
 #include <assert.h>
 #include <pthread.h>
 #include <stdlib.h>
@@ -33,7 +35,6 @@
 
 #include "fixups.h"
 #include "misc.h"
-#include "queue.h"
 
 /*
  * A synchronized queue to implement fixups.  The updater thread adds

Modified: head/usr.bin/csup/fixups.h
==============================================================================
--- head/usr.bin/csup/fixups.h	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/fixups.h	Sat Mar 15 01:20:42 2014	(r263201)
@@ -28,7 +28,7 @@
 #ifndef _FIXUPS_H_
 #define _FIXUPS_H_
 
-#include "queue.h"
+#include <sys/queue.h>
 
 struct coll;
 struct fixups;

Modified: head/usr.bin/csup/keyword.c
==============================================================================
--- head/usr.bin/csup/keyword.c	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/keyword.c	Sat Mar 15 01:20:42 2014	(r263201)
@@ -26,6 +26,8 @@
  * $FreeBSD$
  */
 
+#include <sys/queue.h>
+
 #include <assert.h>
 #include <err.h>
 #include <errno.h>
@@ -37,7 +39,6 @@
 #include "diff.h"
 #include "keyword.h"
 #include "misc.h"
-#include "queue.h"
 #include "stream.h"
 
 /*

Modified: head/usr.bin/csup/proto.c
==============================================================================
--- head/usr.bin/csup/proto.c	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/proto.c	Sat Mar 15 01:20:42 2014	(r263201)
@@ -31,6 +31,7 @@
 #include <sys/socket.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/queue.h>
 
 #include <assert.h>
 #include <err.h>
@@ -57,7 +58,6 @@
 #include "misc.h"
 #include "mux.h"
 #include "proto.h"
-#include "queue.h"
 #include "stream.h"
 #include "threads.h"
 #include "updater.h"

Modified: head/usr.bin/csup/rcsfile.c
==============================================================================
--- head/usr.bin/csup/rcsfile.c	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/rcsfile.c	Sat Mar 15 01:20:42 2014	(r263201)
@@ -26,6 +26,8 @@
  * $FreeBSD$
  */
 
+#include <sys/queue.h>
+
 #include <assert.h>
 #include <err.h>
 #include <errno.h>
@@ -37,7 +39,6 @@
 #include "keyword.h"
 #include "misc.h"
 #include "proto.h"
-#include "queue.h"
 #include "rcsfile.h"
 #include "rcsparse.h"
 #include "stream.h"

Modified: head/usr.bin/csup/rcsparse.c
==============================================================================
--- head/usr.bin/csup/rcsparse.c	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/rcsparse.c	Sat Mar 15 01:20:42 2014	(r263201)
@@ -26,12 +26,13 @@
  * $FreeBSD$
  */
 
+#include <sys/queue.h>
+
 #include <assert.h>
 #include <stdio.h>
 #include <stdlib.h>
 
 #include "misc.h"
-#include "queue.h"
 #include "rcsfile.h"
 #include "rcsparse.h"
 #include "rcstokenizer.h"

Modified: head/usr.bin/csup/status.c
==============================================================================
--- head/usr.bin/csup/status.c	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/status.c	Sat Mar 15 01:20:42 2014	(r263201)
@@ -26,6 +26,8 @@
  * $FreeBSD$
  */
 
+#include <sys/queue.h>
+
 #include <assert.h>
 #include <errno.h>
 #include <fcntl.h>
@@ -39,7 +41,6 @@
 #include "misc.h"
 #include "pathcomp.h"
 #include "proto.h"
-#include "queue.h"
 #include "status.h"
 #include "stream.h"
 

Modified: head/usr.bin/csup/threads.c
==============================================================================
--- head/usr.bin/csup/threads.c	Sat Mar 15 00:59:23 2014	(r263200)
+++ head/usr.bin/csup/threads.c	Sat Mar 15 01:20:42 2014	(r263201)
@@ -26,13 +26,14 @@
  * $FreeBSD$
  */
 
+#include <sys/queue.h>
+
 #include <assert.h>
 #include <err.h>
 #include <pthread.h>
 #include <stdlib.h>
 
 #include "misc.h"
-#include "queue.h"
 #include "threads.h"
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403150120.s2F1KhQS091135>