e70152e44cc66cc599ff6b699eb8adc07f3e656a kent Sat May 24 21:09:34 2014 -0700 Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment. diff --git src/hg/genePredToMafFrames/frameIncr.h src/hg/genePredToMafFrames/frameIncr.h index f3f3d51..2638d1f 100644 --- src/hg/genePredToMafFrames/frameIncr.h +++ src/hg/genePredToMafFrames/frameIncr.h @@ -1,17 +1,20 @@ /* frameIncr - frame increment and manipulation. Static functions for * implict inlining */ + +/* Copyright (C) 2006 The Regents of the University of California + * See README in this or parent directory for licensing information. */ #ifndef FRAMEINCR_H #define FRAMEINCR_H /* Increment a frame by the specified amount, which maybe negative. frame * of -1 always returns -1. */ static inline int frameIncr(int frame, int amt) { if (frame < 0) { return frame; /* no frame not changed */ } else if (amt >= 0) { return (frame + amt) % 3; } else { int amt3 = ((-amt)%3); return (frame - (amt-amt3)) % 3; } } #endif