X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/cb7d77bec27b432db8731ef09916e43064b5aebe..c344dd797a622fcd3cb672f86fb5b6f0ba5cc9c8:/usr.sbin/lpr/common_source/ctlinfo.c diff --git a/usr.sbin/lpr/common_source/ctlinfo.c b/usr.sbin/lpr/common_source/ctlinfo.c index 90f22584bf..860dfd0a9d 100644 --- a/usr.sbin/lpr/common_source/ctlinfo.c +++ b/usr.sbin/lpr/common_source/ctlinfo.c @@ -31,7 +31,7 @@ * ------+---------+---------+---------+---------+---------+---------+---------* * * $FreeBSD: src/usr.sbin/lpr/common_source/ctlinfo.c,v 1.1.2.6 2002/07/14 23:47:09 gad Exp $ - * $DragonFly: src/usr.sbin/lpr/common_source/ctlinfo.c,v 1.2 2003/06/17 04:29:56 dillon Exp $ + * $DragonFly: src/usr.sbin/lpr/common_source/ctlinfo.c,v 1.3 2004/11/26 14:47:04 joerg Exp $ */ /* @@ -96,26 +96,6 @@ static void ctl_rewindcf(struct cjobinfo *_cjinf); char *ctl_rmjob(const char *_ptrname, const char *_cfname); __END_DECLS -/* - * Here are some things which might be needed when compiling this under - * platforms other than FreeBSD. - */ -#ifndef __FreeBSD__ -# ifndef NAME_MAX -# define NAME_MAX 255 -# endif -# ifndef NI_MAXHOST -# define NI_MAXHOST 1025 -# endif -# ifndef PATH_MAX -# define PATH_MAX 1024 -# endif -__BEGIN_DECLS -char *strdup(const char *_src); -size_t strlcpy(char *_dst, const char *_src, size_t _siz); -__END_DECLS -#endif - /* * Control-files (cf*) have the following format. *