diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-04-28 13:49:34 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-04-28 13:49:34 +0000 |
commit | d095b5249cf9e1496ad5a3d6b5acb77af2c587a7 (patch) | |
tree | cc944131907e5244c9f72c80adb6e478ed36bbb8 /source3/include/smb.h | |
parent | 944aeb7de472e0654561f7d8f37a5703487a973e (diff) | |
download | samba-d095b5249cf9e1496ad5a3d6b5acb77af2c587a7.tar.gz samba-d095b5249cf9e1496ad5a3d6b5acb77af2c587a7.tar.bz2 samba-d095b5249cf9e1496ad5a3d6b5acb77af2c587a7.zip |
- added test for vasprintf
- cleaned up GNUC printf attribute macros
- added enum handling in mkproto
- removed non-vararg code
- made slprintf and vslprintf just macros for snprintf and vsnprintf
- don't need slprintf code any more
(This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index c53f0d21e3..7f4825b501 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1222,26 +1222,6 @@ struct bitmap { #define ERRHRD 0x03 /* Error is an hardware error. */ #define ERRCMD 0xFF /* Command was not in the "SMB" format. */ -#ifdef HAVE_STDARG_H -int slprintf(char *str, int n, char *format, ...) -#ifdef __GNUC__ - __attribute__ ((format (__printf__, 3, 4))) -#endif -; -#else -int slprintf(); -#endif - -#ifdef HAVE_STDARG_H -int fdprintf(int fd, char *format, ...) -#ifdef __GNUC__ - __attribute__ ((format (__printf__, 2, 3))) -#endif -; -#else -int fdprintf(); -#endif - #ifdef WITH_DFS void dfs_unlogin(void); extern int dcelogin_atmost_once; |