From e420b9d85485a0c136da4f28972cdbd88fffc3d0 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 23 Feb 2001 01:02:55 +0000 Subject: [PATCH] Change from getopt to popt. Add comment. --- rsync.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/rsync.h b/rsync.h index 12dc2c89..cb138be2 100644 --- a/rsync.h +++ b/rsync.h @@ -1,6 +1,7 @@ /* Copyright (C) by Andrew Tridgell 1996, 2000 Copyright (C) Paul Mackerras 1996 + Copyright (C) 2001 by Martin Pool This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -63,6 +64,9 @@ #define MPLEX_BASE 7 +/* Log values. I *think* what these mean is: FLOG goes to the server + * logfile; FERROR and FINFO try to end up on the client, with + * different levels of filtering. */ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 }; #include "errcode.h" @@ -77,12 +81,6 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 }; #include -#ifdef HAVE_GETOPT_LONG -#include -#else -#include "lib/getopt.h" -#endif - #ifdef HAVE_UNISTD_H #include #endif -- 2.34.1