diff options
author | paul <paul> | 2005-11-03 09:00:23 +0000 |
---|---|---|
committer | paul <paul> | 2005-11-03 09:00:23 +0000 |
commit | 5d5cc292c81cc39b0920fdeba1129b163790e74b (patch) | |
tree | 29eb42bb1d71d2a70f84c117eaffbb2b963c6077 /lib/command.h | |
parent | 0eafe5a5d166fc1a3b8ea1a7340ecb8377c557b0 (diff) | |
download | quagga-5d5cc292c81cc39b0920fdeba1129b163790e74b.tar.bz2 quagga-5d5cc292c81cc39b0920fdeba1129b163790e74b.tar.xz |
2005-11-03 Paul Jakma <paul.jakma@sun.com>
* zebra.h: BSD BYTE_ORDER define isn't available everywhere,
define if needs be.
* checksum.h: new file. checksum.c exports in_cksum, provide
a header for it.
* checksum.c: (in_cksum) callers shouldn't have to know it uses
a u_short internally, change to void *.
* Makefile.am: Add checksum.h
* command.h: remove bogus trailling slash.
* md5.c: (general) Update it for the twentieth century. ANSI
declarations are widely supported now.. Don't include system
headers, only include zebra.h. Use POSIX types (the
alternative is to define u_int64_t in a portable way - rest
of Quagga needs same cleanup).
Make endian-conditional code be compiler conditional rather
than preprocessor conditional, so that breakage gets noticed
quicker.
* md5.h: POSIX types. Get rid of the odd __P() non-ANSI capable
compiler compatibility hack.
Diffstat (limited to 'lib/command.h')
-rw-r--r-- | lib/command.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.h b/lib/command.h index 02d96a42..fbe6a0a1 100644 --- a/lib/command.h +++ b/lib/command.h @@ -179,7 +179,7 @@ struct desc }; #define DEFUN_CMD_FUNC_DECL(funcname) \ - static int funcname (struct cmd_element *, struct vty *, int, const char *[]); \ + static int funcname (struct cmd_element *, struct vty *, int, const char *[]); #define DEFUN_CMD_FUNC_TEXT(funcname) \ static int funcname \ |