rpcclient/cmd_spoolss.c compile warning in latest CVS 2_2 - patch included

Richard Bollinger rabollinger at home.com
Fri Feb 23 13:47:36 GMT 2001


Simple patch fixes this error:

    Compiling rpcclient/cmd_spoolss.c
    rpcclient/cmd_spoolss.c:44: warning: static declaration for `get_short_archi' follows non-static

Rich Bollinger

--- ../source/rpcclient/cmd_spoolss.c Tue Jan  9 07:45:45 2001
+++ ./rpcclient/cmd_spoolss.c Fri Feb 23 08:42:57 2001
@@ -40,7 +40,7 @@
 function to do the mapping between the long architecture name and
 the short one.
 ****************************************************************************/
-static BOOL get_short_archi(char *short_archi, char *long_archi)
+BOOL get_short_archi(char *short_archi, char *long_archi)
 {
         struct table {
                 char *long_archi;






More information about the samba-technical mailing list