Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 10:34:55 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241778 - head/usr.sbin/services_mkdb
Message-ID:  <201210201034.q9KAYtR6009256@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sat Oct 20 10:34:55 2012
New Revision: 241778
URL: http://svn.freebsd.org/changeset/base/241778

Log:
  Move uniq() prototype into extern.h.

Modified:
  head/usr.sbin/services_mkdb/extern.h
  head/usr.sbin/services_mkdb/services_mkdb.c
  head/usr.sbin/services_mkdb/uniq.c

Modified: head/usr.sbin/services_mkdb/extern.h
==============================================================================
--- head/usr.sbin/services_mkdb/extern.h	Sat Oct 20 10:33:15 2012	(r241777)
+++ head/usr.sbin/services_mkdb/extern.h	Sat Oct 20 10:34:55 2012	(r241778)
@@ -30,3 +30,5 @@
  */
 
 extern const HASHINFO hinfo;
+
+void uniq(const char *);

Modified: head/usr.sbin/services_mkdb/services_mkdb.c
==============================================================================
--- head/usr.sbin/services_mkdb/services_mkdb.c	Sat Oct 20 10:33:15 2012	(r241777)
+++ head/usr.sbin/services_mkdb/services_mkdb.c	Sat Oct 20 10:34:55 2012	(r241778)
@@ -56,8 +56,6 @@ static char tname[MAXPATHLEN];
 #define	PMASK		0xffff
 #define PROTOMAX	5
 
-extern void	uniq(const char *);
-
 static void	add(DB *, StringList *, size_t, const char *, size_t *, int);
 static StringList ***parseservices(const char *, StringList *);
 static void	cleanup(void);

Modified: head/usr.sbin/services_mkdb/uniq.c
==============================================================================
--- head/usr.sbin/services_mkdb/uniq.c	Sat Oct 20 10:33:15 2012	(r241777)
+++ head/usr.sbin/services_mkdb/uniq.c	Sat Oct 20 10:34:55 2012	(r241778)
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
 
 #include "extern.h"
 
-void uniq(const char *);
 static int comp(const char *, char **, size_t *);
 
 /*



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