[rtems commit] ftpd: Remove superfluous defines

Sebastian Huber sebh at rtems.org
Tue Mar 31 08:11:44 UTC 2020


Module:    rtems
Branch:    master
Commit:    762425e1e4a8c47d1215a8357c02e05c7b82e38f
Changeset: http://git.rtems.org/rtems/commit/?id=762425e1e4a8c47d1215a8357c02e05c7b82e38f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Mar 31 10:05:51 2020 +0200

ftpd: Remove superfluous defines

These defines are not used and easily conflict with application code.
They are also defined by the standard header file <arpa/ftp.h> if
someone needs them.

---

 cpukit/include/rtems/ftpd.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/cpukit/include/rtems/ftpd.h b/cpukit/include/rtems/ftpd.h
index d2a51af..3e956fe 100644
--- a/cpukit/include/rtems/ftpd.h
+++ b/cpukit/include/rtems/ftpd.h
@@ -57,15 +57,6 @@ struct rtems_ftpd_configuration
    bool                    verbose;            /* Say hello! */
 };
 
-/*
- * Reply codes.
- */
-#define PRELIM          1       /* positive preliminary */
-#define COMPLETE        2       /* positive completion */
-#define CONTINUE        3       /* positive intermediate */
-#define TRANSIENT       4       /* transient negative completion */
-#define ERROR           5       /* permanent negative completion */
-
 rtems_status_code rtems_ftpd_start(
   const struct rtems_ftpd_configuration *config
 );



More information about the vc mailing list