comparison lib-src/fakemail.c @ 21389:48690fd8d40a

(_XOPEN_SOURCE): Define for declaration of cuserid. (parse_header): Explicitly declare return type.
author Andreas Schwab <schwab@suse.de>
date Mon, 06 Apr 1998 10:15:16 +0000
parents 36704f455f32
children 7ebe942c4a9c
comparison
equal deleted inserted replaced
21388:1a8c44e38d9c 21389:48690fd8d40a
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with GNU Emacs; see the file COPYING. If not, write to 17 along with GNU Emacs; see the file COPYING. If not, write to
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */ 19 Boston, MA 02111-1307, USA. */
20 20
21
22 /* This is needed to get the declaration of cuserid in GNU libc. */
23 #define _XOPEN_SOURCE 1
21 24
22 #define NO_SHORTNAMES 25 #define NO_SHORTNAMES
23 #include <../src/config.h> 26 #include <../src/config.h>
24 27
25 #if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL) 28 #if defined (BSD_SYSTEM) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
597 and put all recipient names into the buffer WHERE. 600 and put all recipient names into the buffer WHERE.
598 Precede each recipient name with a space. 601 Precede each recipient name with a space.
599 602
600 Also, if the header has any FCC fields, call setup_files for each one. */ 603 Also, if the header has any FCC fields, call setup_files for each one. */
601 604
605 void
602 parse_header (the_header, where) 606 parse_header (the_header, where)
603 header the_header; 607 header the_header;
604 register char *where; 608 register char *where;
605 { 609 {
606 register header old = the_header; 610 register header old = the_header;