summaryrefslogtreecommitdiff
path: root/libftpconn/priv.h
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2009-06-23 00:27:28 +0200
committerThomas Schwinge <tschwinge@gnu.org>2009-06-23 14:54:09 +0200
commitc6c9d7a69dea26e04bba7010582e7bcd612e710c (patch)
tree99d5d3aa08af80e5a94213377fd26e7ddd5e53b3 /libftpconn/priv.h
parent2772f5c6a6a51cf946fd95bf6ffe254273157a21 (diff)
Use static inline where appropriate.
* console-client/timer.h (fetch_jiffies): Use static inline instead of extern inline. * ext2fs/ext2fs.h (test_bit, set_bit, clear_bit, dino, global_block_modified) (record_global_poke, sync_global_ptr, record_indir_poke, sync_global) (alloc_sync): Likewise. * libftpconn/priv.h (unexpected_reply): Likewise. * term/term.h (qsize, qavail, clear_queue, dequeue_quote, dequeue) (enqueue_internal, enqueue, enqueue_quote, unquote_char, char_quoted_p) (queue_erase): Likewise. * ufs/ufs.h (dino, indir_block, cg_locate, sync_disk_blocks, sync_dinode) (swab_short, swab_long, swab_long_long): Likewise. * term/munge.c (poutput): Use static inline instead of inline.
Diffstat (limited to 'libftpconn/priv.h')
-rw-r--r--libftpconn/priv.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libftpconn/priv.h b/libftpconn/priv.h
index fb4dae50..27842033 100644
--- a/libftpconn/priv.h
+++ b/libftpconn/priv.h
@@ -1,6 +1,6 @@
/* libftpconn private definitions
- Copyright (C) 1997 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2009 Free Software Foundation, Inc.
Written by Miles Bader <miles@gnu.ai.mit.edu>
@@ -20,10 +20,6 @@
#ifndef __FTPCONN_PRIV_H__
#define __FTPCONN_PRIV_H__
-
-#ifndef FTP_CONN_EI
-# define FTP_CONN_EI extern inline
-#endif
/* Ftp reply codes. */
#define REPLY_DELAY 120 /* Service ready in nnn minutes */
@@ -61,7 +57,7 @@
#define REPLY_IS_TRANSIENT(rep) ((rep) >= 400 && (rep) < 500)
#define REPLY_IS_FAILURE(rep) ((rep) >= 500 && (rep) < 600)
-FTP_CONN_EI error_t
+static inline error_t
unexpected_reply (struct ftp_conn *conn, int reply, const char *reply_txt,
const error_t *poss_errs)
{