]> diplodocus.org Git - nmh/blobdiff - sbr/addrsbr.c
Whoops, shouldn't use autoincrement with a macro; forgot about side
[nmh] / sbr / addrsbr.c
index bb0b2c7895ad7c4878696c735b0eba91982d7571..a073e70768be633a66e68d16ab6d0f6138c33c5c 100644 (file)
@@ -78,7 +78,7 @@ static char adr[BUFSIZ];
 
 
 char *
-getname (char *addrs)
+getname (const char *addrs)
 {
     struct adrx *ap;
 
@@ -271,24 +271,6 @@ auxformat (struct mailname *mp, int extras)
 }
 
 
-/*
- * This used to be adrsprintf() (where it would format an address for you
- * given a username and a domain).  But somewhere we got to the point where
- * the only caller was post, and it only called it with both arguments NULL.
- * So the function was renamed with a more sensible name.
- */
-
-char *
-getlocaladdr(void)
-{
-    char        *username;
-
-    username = getusername();
-
-    return username;
-}
-
-
 #define        W_NIL   0x0000
 #define        W_MBEG  0x0001
 #define        W_MEND  0x0002