mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
33 lines
848 B
Diff
33 lines
848 B
Diff
diff --git a/fastrand.cpp b/fastrand.cpp
|
|
index 3714f02..d1cf224 100644
|
|
--- a/fastrand.cpp
|
|
+++ b/fastrand.cpp
|
|
@@ -30,10 +30,10 @@ Uint32 GetRandSeed(void)
|
|
Uint16 FastRandom(Uint16 range)
|
|
{
|
|
Uint16 result;
|
|
- register Uint32 calc;
|
|
- register Uint32 regD0;
|
|
- register Uint32 regD1;
|
|
- register Uint32 regD2;
|
|
+ Uint32 calc;
|
|
+ Uint32 regD0;
|
|
+ Uint32 regD1;
|
|
+ Uint32 regD2;
|
|
|
|
#ifdef SERIOUS_DEBUG
|
|
fprintf(stderr, "FastRandom(%hd) Seed in: %lu ", range, randomSeed);
|
|
diff --git a/screenlib/SDL_FrameBuf.cpp b/screenlib/SDL_FrameBuf.cpp
|
|
index 2f7b44c..c8e394b 100644
|
|
--- a/screenlib/SDL_FrameBuf.cpp
|
|
+++ b/screenlib/SDL_FrameBuf.cpp
|
|
@@ -555,7 +555,7 @@ static inline void memswap(Uint8 *dst, Uint8 *src, Uint8 len)
|
|
}
|
|
#else
|
|
/* Swap two buffers using a temporary variable */
|
|
- register Uint8 tmp;
|
|
+ Uint8 tmp;
|
|
|
|
while ( len-- ) {
|
|
tmp = *dst;
|