X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libatalk%2Fcompat%2Fstrstr.c;h=ae555b499cebc40ff21ed321f8c8647169c5ee22;hb=6f2cdbbc7b3cf66adc0477903caa4951dc812e6f;hp=2c3b2b43b1abf534ea6bfdc11343827ad7c7a466;hpb=31843674b7bd32eabcce3a1ad6159b4f94921f79;p=netatalk.git diff --git a/libatalk/compat/strstr.c b/libatalk/compat/strstr.c index 2c3b2b43..ae555b49 100644 --- a/libatalk/compat/strstr.c +++ b/libatalk/compat/strstr.c @@ -1,4 +1,6 @@ -/*- +/* + * $Id: strstr.c,v 1.4 2003-02-17 01:51:08 srittau Exp $ + * * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * @@ -34,16 +36,18 @@ * SUCH DAMAGE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif /* HAVE_CONFIG_H */ + #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)strstr.c 5.2 (Berkeley) 1/26/91"; #endif /* LIBC_SCCS and not lint */ -static int _strstr_dummy; - # if defined(ibm032) || (defined(sun) && defined(i386)) #ifdef sun #define const -#endif sun +#endif /* sun */ #include #include @@ -70,4 +74,4 @@ strstr(s, find) } return ((char *)s); } -# endif ibm03 sun i386 +# endif /* ibm03 sun i386 */