From: eeb Date: Tue, 11 Nov 2003 16:21:56 +0000 (+0000) Subject: * reduced the number of warnings for liblustre compilation X-Git-Tag: v1_7_0_51~2^9~183 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=ce772d8a0e8763721b825a49c20e2045b36caad8;p=fs%2Flustre-release.git * reduced the number of warnings for liblustre compilation --- diff --git a/lnet/include/linux/kp30.h b/lnet/include/linux/kp30.h index 916f6fd..344cf28 100644 --- a/lnet/include/linux/kp30.h +++ b/lnet/include/linux/kp30.h @@ -601,7 +601,6 @@ extern struct prof_ent prof_ents[MAX_PROFS]; extern spinlock_t stack_backtrace_lock; char *portals_debug_dumpstack(void); -char *portals_nid2str(int nal, ptl_nid_t nid, char *str); void portals_run_upcall(char **argv); void portals_run_lbug_upcall(char * file, const char *fn, const int line); void portals_debug_dumplog(void); @@ -671,6 +670,9 @@ extern void kportal_blockallsigs (void); getpid() , stack, ## a); #endif +/* support decl needed both by kernel and liblustre */ +char *portals_nid2str(int nal, ptl_nid_t nid, char *str); + #ifndef CURRENT_TIME # define CURRENT_TIME time(0) #endif diff --git a/lustre/portals/include/linux/kp30.h b/lustre/portals/include/linux/kp30.h index 916f6fd..344cf28 100644 --- a/lustre/portals/include/linux/kp30.h +++ b/lustre/portals/include/linux/kp30.h @@ -601,7 +601,6 @@ extern struct prof_ent prof_ents[MAX_PROFS]; extern spinlock_t stack_backtrace_lock; char *portals_debug_dumpstack(void); -char *portals_nid2str(int nal, ptl_nid_t nid, char *str); void portals_run_upcall(char **argv); void portals_run_lbug_upcall(char * file, const char *fn, const int line); void portals_debug_dumplog(void); @@ -671,6 +670,9 @@ extern void kportal_blockallsigs (void); getpid() , stack, ## a); #endif +/* support decl needed both by kernel and liblustre */ +char *portals_nid2str(int nal, ptl_nid_t nid, char *str); + #ifndef CURRENT_TIME # define CURRENT_TIME time(0) #endif