X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Flp_utils.h;h=b312534ac0d5d15d389f8dd44154c760cbd57e69;hb=02b04c64a87aefb4f6e953d88f3cde1861b6844d;hp=993253aaf134a999a5bff8bd4b49abfd055dccc8;hpb=2dc9c16e770415d56839e1996015fec5fab93f29;p=fs%2Flustre-release.git diff --git a/lustre/tests/lp_utils.h b/lustre/tests/lp_utils.h index 993253a..b312534 100644 --- a/lustre/tests/lp_utils.h +++ b/lustre/tests/lp_utils.h @@ -1,29 +1,41 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: +/* + * GPL HEADER START * - * Copyright (C) 2002 Cluster File Systems, Inc. - * Author: You Feng + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * - * This file is part of Lustre, http://www.lustre.org. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 only, + * as published by the Free Software Foundation. * - * Lustre is free software; you can redistribute it and/or - * modify it under the terms of version 2 of the GNU General Public - * License as published by the Free Software Foundation. + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License version 2 for more details (a copy is included + * in the LICENSE file that accompanied this code). * - * Lustre is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * version 2 along with this program; If not, see + * http://www.gnu.org/licenses/gpl-2.0.html * - * You should have received a copy of the GNU General Public License - * along with Lustre; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * GPL HEADER END + */ +/* + * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. + * Use is subject to license terms. + */ +/* + * This file is part of Lustre, http://www.lustre.org/ + * Lustre is a trademark of Sun Microsystems, Inc. + * + * lustre/tests/lp_utils.h + * + * Author: You Feng */ #ifndef __LP_UTILS_H__ #define __LP_UTILS_H__ -#include "lustre/lustre_user.h" +#include #define FAIL(msg) \ \ @@ -51,8 +63,8 @@ extern char hostname[]; extern char *timestamp(); extern char *testdir; -extern inline void begin(char *str); -extern inline void end(char *str); +extern void begin(char *str); +extern void end(char *str); extern void dump_diff(char *orig_buf, char *buf, int len, long off); extern void lp_gethostname(void);